[jboss-user] [jBPM] - Re: WorkItemHandler Deployment Problem

Reza Ghalavand do-not-reply at jboss.com
Mon Sep 24 08:52:01 EDT 2012


Reza Ghalavand [https://community.jboss.org/people/allgreenphosphor] created the discussion

"Re: WorkItemHandler Deployment Problem"

To view the discussion, visit: https://community.jboss.org/message/761111#761111

--------------------------------------------------------------
I think this may help as well, I've taken it from server.log:

15:12:02,146 WARN  [com.arjuna.ats.jta] (http-localhost-127.0.0.1-8080-4) ARJUNA16029: SynchronizationImple.afterCompletion - failed for org.drools.persistence.jta.JtaTransactionSynchronizationAdapter at 460051 with exception: [Error: unable to resolve class: com.myTask.WorkItemHandler from [Module "deployment.jbpm-gwt-console-server.war:main" from Service Module Loader]]
[Near : {... "MyLog": new com.myTask.WorkItemHandler(), ....}]
                          ^
[Line: 5, Column: 14]
          at org.mvel2.ast.NewObjectNode.getReducedValue(NewObjectNode.java:294) [mvel2-2.1.0.drools16.jar:]
          at org.mvel2.MVELInterpretedRuntime.parseAndExecuteInterpreted(MVELInterpretedRuntime.java:106) [mvel2-2.1.0.drools16.jar:]
          at org.mvel2.MVELInterpretedRuntime.parse(MVELInterpretedRuntime.java:49) [mvel2-2.1.0.drools16.jar:]
          at org.mvel2.MVEL.eval(MVEL.java:150) [mvel2-2.1.0.drools16.jar:]
          at org.mvel2.ast.InlineCollectionNode.execGraph(InlineCollectionNode.java:180) [mvel2-2.1.0.drools16.jar:]
          at org.mvel2.ast.InlineCollectionNode.execGraph(InlineCollectionNode.java:138) [mvel2-2.1.0.drools16.jar:]
          at org.mvel2.ast.InlineCollectionNode.getReducedValue(InlineCollectionNode.java:105) [mvel2-2.1.0.drools16.jar:]
          at org.mvel2.MVELInterpretedRuntime.parseAndExecuteInterpreted(MVELInterpretedRuntime.java:106) [mvel2-2.1.0.drools16.jar:]
          at org.mvel2.MVELInterpretedRuntime.parse(MVELInterpretedRuntime.java:49) [mvel2-2.1.0.drools16.jar:]
          at org.mvel2.MVEL.eval(MVEL.java:165) [mvel2-2.1.0.drools16.jar:]
          at org.drools.SessionConfiguration.loadWorkItemHandlers(SessionConfiguration.java:304) [drools-core-5.4.0.Final.jar:]
          at org.drools.SessionConfiguration.initWorkItemHandlers(SessionConfiguration.java:294) [drools-core-5.4.0.Final.jar:]
          at org.drools.SessionConfiguration.getWorkItemHandlers(SessionConfiguration.java:269) [drools-core-5.4.0.Final.jar:]
          at org.drools.common.AbstractWorkingMemory.getWorkItemManager(AbstractWorkingMemory.java:1106) [drools-core-5.4.0.Final.jar:]
          at org.drools.impl.StatefulKnowledgeSessionImpl.getWorkItemManager(StatefulKnowledgeSessionImpl.java:311) [drools-core-5.4.0.Final.jar:]
          at org.drools.persistence.SingleSessionCommandService$SynchronizationImpl.afterCompletion(SingleSessionCommandService.java:452) [drools-persistence-jpa-5.4.0.Final.jar:]
          at org.drools.persistence.jta.JtaTransactionSynchronizationAdapter.afterCompletion(JtaTransactionSynchronizationAdapter.java:22) [drools-persistence-jpa-5.4.0.Final.jar:]
          at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:117)
          at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:403)
          at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:104)
          at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:159)
          at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1159)
          at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:119)
          at org.drools.persistence.jta.JtaTransactionManager.commit(JtaTransactionManager.java:179) [drools-persistence-jpa-5.4.0.Final.jar:]
          at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:155) [drools-persistence-jpa-5.4.0.Final.jar:]
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.7.0_07]
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [:1.7.0_07]
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [:1.7.0_07]
          at java.lang.reflect.Constructor.newInstance(Constructor.java:525) [:1.7.0_07]
          at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:129) [drools-persistence-jpa-5.4.0.Final.jar:]
          at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.newStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:67) [drools-persistence-jpa-5.4.0.Final.jar:]
          at org.drools.persistence.jpa.JPAKnowledgeService.newStatefulKnowledgeSession(JPAKnowledgeService.java:122) [knowledge-api-5.4.0.Final.jar:]
          at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.createOrLoadStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:310) [jbpm-gwt-core-5.3.0.Final.jar:]
          at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:154) [jbpm-gwt-core-5.3.0.Final.jar:]
          at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:127) [jbpm-gwt-core-5.3.0.Final.jar:]
          at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) [jbpm-gwt-core-5.3.0.Final.jar:]
          at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25) [jbpm-gwt-core-5.3.0.Final.jar:]
          at org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:51) [jbpm-gwt-core-5.3.0.Final.jar:]
          at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26) [jbpm-gwt-core-5.3.0.Final.jar:]
          at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19) [jbpm-gwt-core-5.3.0.Final.jar:]
          at org.jboss.bpm.console.server.TaskListFacade.getTaskManagement(TaskListFacade.java:72) [classes:]
          at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101) [classes:]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.7.0_07]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.7.0_07]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.7.0_07]
          at java.lang.reflect.Method.invoke(Method.java:601) [:1.7.0_07]
          at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:255) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:220) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:209) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:519) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:496) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.2.1.GA.jar:]
          at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.2.1.GA.jar:]
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) [classes:]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:139) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:480) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.jboss.as.web.NamingValve.invoke(NamingValve.java:57) [jboss-as-web-7.0.2.Final.jar:7.0.2.Final]
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:154) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:667) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:952) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
          at java.lang.Thread.run(Thread.java:722) [:1.7.0_07]
Caused by: java.lang.ClassNotFoundException: com.myTask.WorkItemHandler from [Module "deployment.jbpm-gwt-console-server.war:main" from Service Module Loader]
          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
          at java.lang.Class.forName0(Native Method) [:1.7.0_07]
          at java.lang.Class.forName(Class.java:264) [:1.7.0_07]
          at org.mvel2.util.ParseTools.createClass(ParseTools.java:517) [mvel2-2.1.0.drools16.jar:]
          at org.mvel2.util.ParseTools.findClass(ParseTools.java:944) [mvel2-2.1.0.drools16.jar:]
          at org.mvel2.ast.NewObjectNode.getReducedValue(NewObjectNode.java:256) [mvel2-2.1.0.drools16.jar:]
          ... 74 more
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/761111#761111]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120924/36016983/attachment-0001.html 


More information about the jboss-user mailing list