You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2022/11/26 08:44:00 UTC

[jira] [Commented] (OFBIZ-12716) Manufacturing - MRP Run Failure

    [ https://issues.apache.org/jira/browse/OFBIZ-12716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17638829#comment-17638829 ] 

Jacques Le Roux commented on OFBIZ-12716:
-----------------------------------------

As mentionned at https://lists.apache.org/thread/78m526d74kzb40kkp3tmv04jb208581j

bq. As a workaround, I set auth="false" for <service name="executeMrp" engine="java" ..> in service_mrp.xml to make it "work". 


> Manufacturing - MRP Run Failure
> -------------------------------
>
>                 Key: OFBIZ-12716
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12716
>             Project: OFBiz
>          Issue Type: Bug
>          Components: manufacturing
>    Affects Versions: 18.12.06
>         Environment: {color:#000000}MacOS M1, jdk1.8.0_351.jdk{color}
>            Reporter: yannong huang
>            Assignee: Jacques Le Roux
>            Priority: Major
>
> {color:#000000}Failed with the Manufacturing / MRP Run with the Table made of (Wood + Nails + Varnish) tutorial.{color}
> Look for "Example Scenario" at:
> https://cwiki.apache.org/confluence/display/OFBIZ/%5BWIP%5D+Getting+Started+with+Apache+OFBiz+Manufacturing+and+MRP+in+5+Easy+Steps
>  
> {noformat}
> ====================================================
> 2022-11-21 17:40:40,916 |jsse-nio-8443-exec-2 |ServiceDispatcher             |T| Sync service [manufacturing/getLastSystemInfoNote] finished in [1] milliseconds
> 2022-11-21 17:40:41,088 |jsse-nio-8443-exec-2 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
> 2022-11-21 17:40:41,099 |jsse-nio-8443-exec-2 |ControlServlet                |T| [[[FindInventoryEventPlan(Domain:[https://localhost|https://localhost/])] Request Done- total:0.268,since last([FindInventoryEve...):0.269]]
> 2022-11-21 17:40:43,746 |jsse-nio-8443-exec-4 |LoginWorker                   |W| Received a null Security object from HttpServletRequest
> 2022-11-21 17:40:43,750 |jsse-nio-8443-exec-4 |ControlServlet                |T| [[[FindInventoryEventPlan(Domain:[https://localhost|https://localhost/])] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
> 2022-11-21 17:40:43,798 |jsse-nio-8443-exec-4 |ConfigXMLReader               |I| controller loaded: 0.005s, 149 requests, 66 views in file:/Users/yannonghuang/ofbiz/ofbiz-framework/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml
> 2022-11-21 17:40:43,812 |jsse-nio-8443-exec-4 |ConfigXMLReader               |I| controller loaded: 0.001s, 49 requests, 21 views in file:/Users/yannonghuang/ofbiz/ofbiz-framework/framework/common/webcommon/WEB-INF/common-controller.xml
> 2022-11-21 17:40:43,822 |jsse-nio-8443-exec-4 |ConfigXMLReader               |I| controller loaded: 0.0s, 0 requests, 0 views in file:/Users/yannonghuang/ofbiz/ofbiz-framework/framework/common/webcommon/WEB-INF/handlers-controller.xml
> 2022-11-21 17:40:43,830 |jsse-nio-8443-exec-4 |ConfigXMLReader               |I| controller loaded: 0.0s, 4 requests, 0 views in file:/Users/yannonghuang/ofbiz/ofbiz-framework/applications/commonext/webapp/WEB-INF/controller.xml
> 2022-11-21 17:40:43,833 |jsse-nio-8443-exec-4 |JWTManager                    |I| Internal single sign on is disabled.
> 2022-11-21 17:40:43,842 |jsse-nio-8443-exec-4 |RequestHandler                |I| Rendering View [FindMrpPlannedEvents].  Hidden sessionId by default.
> 2022-11-21 17:40:43,849 |jsse-nio-8443-exec-4 |ServiceDispatcher             |T| Sync service [manufacturing/getUserPreferenceGroup] finished in [2] milliseconds
> 2022-11-21 17:40:43,961 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 2 screens in 0.006s from: file:/Users/yannonghuang/ofbiz/ofbiz-framework/applications/manufacturing/widget/manufacturing/CommonScreens.xml
> 2022-11-21 17:40:43,966 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 1 screens in 0.004s from: file:/Users/yannonghuang/ofbiz/ofbiz-framework/applications/commonext/widget/CommonScreens.xml
> 2022-11-21 17:40:44,001 |jsse-nio-8443-exec-4 |ServiceDispatcher             |T| Sync service [manufacturing/getLastSystemInfoNote] finished in [14] milliseconds
> 2022-11-21 17:40:44,008 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 26 screens in 0.004s from: file:/Users/yannonghuang/ofbiz/ofbiz-framework/framework/common/widget/CommonScreens.xml
> 2022-11-21 17:40:44,048 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 25 screens in 0.007s from: file:/Users/yannonghuang/ofbiz/ofbiz-framework/themes/common-theme/widget/CommonScreens.xml
> 2022-11-21 17:40:44,133 |jsse-nio-8443-exec-4 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
> 2022-11-21 17:40:44,137 |jsse-nio-8443-exec-4 |ControlServlet                |T| [[[FindInventoryEventPlan(Domain:[https://localhost|https://localhost/])] Request Done- total:0.387,since last([FindInventoryEve...):0.387]]
> 2022-11-21 17:40:47,558 |jsse-nio-8443-exec-1 |LoginWorker                   |W| Received a null Security object from HttpServletRequest
> 2022-11-21 17:40:47,560 |jsse-nio-8443-exec-1 |ControlServlet                |T| [[[FindInventoryEventPlan(Domain:[https://localhost|https://localhost/])] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
> 2022-11-21 17:40:47,562 |jsse-nio-8443-exec-1 |JWTManager                    |I| Internal single sign on is disabled.
> 2022-11-21 17:40:47,576 |jsse-nio-8443-exec-1 |RequestHandler                |I| Rendering View [FindMrpPlannedEvents].  Hidden sessionId by default.
> 2022-11-21 17:40:47,581 |jsse-nio-8443-exec-1 |ServiceDispatcher             |T| Sync service [manufacturing/getUserPreferenceGroup] finished in [1] milliseconds
> 2022-11-21 17:40:47,594 |jsse-nio-8443-exec-1 |ServiceDispatcher             |T| Sync service [manufacturing/getLastSystemInfoNote] finished in [1] milliseconds
> 2022-11-21 17:40:47,705 |jsse-nio-8443-exec-1 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
> 2022-11-21 17:40:47,731 |jsse-nio-8443-exec-1 |ControlServlet                |T| [[[FindInventoryEventPlan(Domain:[https://localhost|https://localhost/])] Request Done- total:0.171,since last([FindInventoryEve...):0.171]]
> 2022-11-21 17:40:51,044 |OFBiz-JobQueue-0     |PersistedServiceJob           |I| Job  [1669081224242] Id [10018] -- Next runtime: Wed Dec 31 15:59:59 PST 1969
> Nov 21, 2022 5:40:51 PM java.io.ObjectInputStream filterCheck
> INFO: ObjectInputFilter REJECTED: null, array length: -1, nRefs: 501, depth: 6, bytes: 13065, ex: n/a
> 2022-11-21 17:40:51,134 |OFBiz-JobQueue-0     |UtilObject                    |E| null
> java.io.InvalidClassException: filter status: REJECTED
>         at java.io.ObjectInputStream.filterCheck(ObjectInputStream.java:1356) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readHandle(ObjectInputStream.java:1824) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1657) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2454) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2378) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2236) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1692) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:508) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:466) ~[?:1.8.0_351]
>         at java.util.HashMap.readObject(HashMap.java:1418) ~[?:1.8.0_351]
>         at sun.reflect.GeneratedMethodAccessor377.invoke(Unknown Source) ~[?:?]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_351]
>         at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_351]
>         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1185) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2345) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2236) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1692) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2454) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2378) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2236) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1692) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2454) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2378) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2236) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1692) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2454) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2378) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2236) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1692) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:508) ~[?:1.8.0_351]
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:466) ~[?:1.8.0_351]
>         at org.apache.ofbiz.base.util.UtilObject.getObjectException(UtilObject.java:96) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.base.util.UtilObject.getObject(UtilObject.java:79) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.deserializeCustom(XmlSerializer.java:475) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.deserializeSingle(XmlSerializer.java:465) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.deserializeSingle(XmlSerializer.java:453) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.deserialize(XmlSerializer.java:128) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.deserialize(XmlSerializer.java:102) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.job.PersistedServiceJob.getContext(PersistedServiceJob.java:293) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) ~[ofbiz.jar:?]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_351]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_351]
>         at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_351]
> 2022-11-21 17:40:51,138 |OFBiz-JobQueue-0     |PersistedServiceJob           |E| PersistedServiceJob.getContext(): Serialize Exception
> org.apache.ofbiz.entity.serialize.SerializeException: Problem deserializing object from byte array + cus-obj
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.deserializeCustom(XmlSerializer.java:481) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.deserializeSingle(XmlSerializer.java:465) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.deserializeSingle(XmlSerializer.java:453) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.deserialize(XmlSerializer.java:128) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.entity.serialize.XmlSerializer.deserialize(XmlSerializer.java:102) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.job.PersistedServiceJob.getContext(PersistedServiceJob.java:293) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) ~[ofbiz.jar:?]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_351]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_351]
>         at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_351]
> 2022-11-21 17:40:51,142 |OFBiz-JobQueue-0     |PersistedServiceJob           |E| Job context is null
> 2022-11-21 17:40:51,148 |OFBiz-JobQueue-0     |ServiceDispatcher             |T| [[Sync service failed...- total:0.0,since last(Begin):0.001]] - 'default / executeMrp'
> 2022-11-21 17:40:51,150 |OFBiz-JobQueue-0     |TransactionUtil               |I| Transaction rolled back
> 2022-11-21 17:40:51,152 |OFBiz-JobQueue-0     |TransactionUtil               |W| Not committing transaction, status is No Transaction (6)
> 2022-11-21 17:40:51,153 |OFBiz-JobQueue-0     |GenericServiceJob             |E| Async-Service failed.
> org.apache.ofbiz.service.ServiceAuthException: User authorization is required for this service: executeMrp
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:375) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:240) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) ~[ofbiz.jar:?]
>         at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) ~[ofbiz.jar:?]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_351]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_351]
>         at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_351]
> 2022-11-21 17:40:51,153 |OFBiz-JobQueue-0     |PersistedServiceJob           |W| Persisted Job [10018] Failed. Max Retry Hit, not re-scheduling
> 2022-11-21 17:41:46,108 |jsse-nio-8443-exec-7 |LoginWorker                   |W| Received a null Security object from HttpServletRequest
> 2022-11-21 17:41:46,121 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[FindInventoryEventPlan(Domain:[https://localhost|https://localhost/])] Request Begun, encoding=[UTF-8]- total:0.001,since last(Begin):0.001]]
> 2022-11-21 17:41:46,180 |jsse-nio-8443-exec-7 |ConfigXMLReader               |I| controller loaded: 0.005s, 149 requests, 66 views in file:/Users/yannonghuang/ofbiz/ofbiz-framework/applications/manufacturing/webapp/manufacturing/WEB-INF/controller.xml
> 2022-11-21 17:41:46,196 |jsse-nio-8443-exec-7 |ConfigXMLReader               |I| controller loaded: 0.001s, 49 requests, 21 views in file:/Users/yannonghuang/ofbiz/ofbiz-framework/framework/common/webcommon/WEB-INF/common-controller.xml
> 2022-11-21 17:41:46,207 |jsse-nio-8443-exec-7 |ConfigXMLReader               |I| controller loaded: 0.0s, 0 requests, 0 views in file:/Users/yannonghuang/ofbiz/ofbiz-framework/framework/common/webcommon/WEB-INF/handlers-controller.xml
> 2022-11-21 17:41:46,217 |jsse-nio-8443-exec-7 |ConfigXMLReader               |I| controller loaded: 0.0s, 4 requests, 0 views in file:/Users/yannonghuang/ofbiz/ofbiz-framework/applications/commonext/webapp/WEB-INF/controller.xml
> 2022-11-21 17:41:46,222 |jsse-nio-8443-exec-7 |JWTManager                    |I| Internal single sign on is disabled.
> 2022-11-21 17:41:46,237 |jsse-nio-8443-exec-7 |RequestHandler                |I| Rendering View [FindMrpPlannedEvents].  Hidden sessionId by default.
> 2022-11-21 17:41:46,250 |jsse-nio-8443-exec-7 |ServiceDispatcher             |T| Sync service [manufacturing/getUserPreferenceGroup] finished in [4] milliseconds
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)