[jboss-user] [jBPM] - Re: JTA Problem with multiple sessions

Sumeru Saha do-not-reply at jboss.com
Mon Jun 3 05:00:21 EDT 2013


Sumeru Saha [https://community.jboss.org/people/sumerus] created the discussion

"Re: JTA Problem with multiple sessions"

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

--------------------------------------------------------------
Hi Maciej,

Another spot on reply - i'm becoming a fan of yours. I havn't seen the exception in the log after deleting the .ser file.

Once this is done let me bother you little bit more with another harmless exception in my log ... I've used a *com.sample.service.Student* , in my BPMN2 process model. I instantiated this Student class in a script task. For this i needed to upload the jar containing this class as POJO Model in Guvnor. Also this jar is in the jbpm-gwt-console-server.war/WEB-INF/lib. Everything works fine but everytime i login into the  jbpm-console, the following exception appears in the server.log. can you please tell me what could be wrong ... do i need to put the jar in the jbpm-gwt-console.war also (but as far i recall i also tried that)? 

Thanks
Sumeru
---

14:15:41,777 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) java.lang.RuntimeException: KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage   
14:15:41,785 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:796)
14:15:41,790 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.drools.agent.impl.KnowledgeAgentImpl.incrementalBuildResources(KnowledgeAgentImpl.java:987)
14:15:41,796 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:686)
14:15:41,802 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:207)
14:15:41,810 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:186)
14:15:41,819 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.jbpm.integration.console.kbase.DefaultKnowledgeBaseManager.buildKnowledgeAgent(DefaultKnowledgeBaseManager.java:157)
14:15:41,827 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.jbpm.integration.console.kbase.DefaultKnowledgeBaseManager.getKnowledgeBase(DefaultKnowledgeBaseManager.java:65)
14:15:41,837 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:102)
14:15:41,848 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:84)
14:15:41,854 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:88)
14:15:41,863 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25)
14:15:41,871 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:52)
14:15:41,877 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26)
14:15:41,885 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19)
14:15:41,890 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.jboss.bpm.console.server.TaskListFacade.getTaskManagement(TaskListFacade.java:72)
14:15:41,896 ERROR [stderr] (http-localhost-127.0.0.1-8080-6)           at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101)
| 14:15:41,901 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) |
| 14:15:41,905 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) |
| 14:15:41,911 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |
| 14:15:41,916 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at java.lang.reflect.Method.invoke(Method.java:601) |
| 14:15:41,922 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) |
| 14:15:41,932 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) |
| 14:15:41,937 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) |
| 14:15:41,941 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) |
| 14:15:41,946 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) |
| 14:15:41,952 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) |
| 14:15:41,957 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) |
| 14:15:41,962 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) |
| 14:15:41,968 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) |
| 14:15:41,974 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) |
| 14:15:41,980 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) |
| 14:15:41,984 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) |
| 14:15:41,990 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) |
| 14:15:41,995 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) |

...

14:15:42,108 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) Caused by: java.lang.ClassNotFoundException: com.sample.Student from [Module "deployment.jbpm-gwt-console-server.war:main" from Service Module Loader]
| 
 | 
 |
| 14:15:42,116 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) |
| 14:15:42,125 ERROR [stderr] (http-localhost-127.0.0.1-8080-6) | at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) |
...
--------------------------------------------------------------

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

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/20130603/adc33c68/attachment.html 


More information about the jboss-user mailing list