5 Replies Latest reply on Jul 11, 2012 7:35 AM by nurlan.rakhimzhanov

    jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.drools.persistence.SingleSessionCommandService] (http--127.0.0.1-8080-6) Could not commit session: java.lang.RuntimeException: Could not find session data for id 1

    nurlan.rakhimzhanov

      Hi, guys!

      I am new to jbpm5, I tried to run jbpm5.3 on jboss7, but it shows:

       

      log:

      18:28:34,576 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (http--127.0.0.1-8080-6) updating schema

      18:28:34,581 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: EventTypes

      18:28:34,583 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: NodeInstanceLog

      18:28:34,585 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: ProcessInstanceInfo

      18:28:34,587 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: ProcessInstanceLog

      18:28:34,590 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: SessionInfo

      18:28:34,592 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: VariableInstanceLog

      18:28:34,594 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: WorkItemInfo

      18:28:34,596 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: EventTypes

      18:28:34,598 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: NodeInstanceLog

      18:28:34,600 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: ProcessInstanceInfo

      18:28:34,602 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: ProcessInstanceLog

      18:28:34,604 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: SessionInfo

      18:28:34,606 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: VariableInstanceLog

      18:28:34,608 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: WorkItemInfo

      18:28:34,610 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: NODE_INST_LOG_ID_SEQ

      18:28:34,613 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: PROC_INST_LOG_ID_SEQ

      18:28:34,615 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: SESSIONINFO_ID_SEQ

      18:28:34,617 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: VAR_INST_LOG_ID_SEQ

      18:28:34,619 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: WORKITEMINFO_ID_SEQ

      18:28:34,621 INFO  [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (http--127.0.0.1-8080-6) table not found: hibernate_sequence

      18:28:34,654 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (http--127.0.0.1-8080-6) schema update complete

      18:28:34,656 INFO  [org.hibernate.util.NamingHelper] (http--127.0.0.1-8080-6) JNDI InitialContext properties:{}

      18:28:34,811 ERROR [org.drools.persistence.SingleSessionCommandService] (http--127.0.0.1-8080-6) Could not commit session: java.lang.RuntimeException: Could not find session data for id 1

                at org.drools.persistence.SingleSessionCommandService.initKsession(SingleSessionCommandService.java:231) [drools-persistence-jpa-5.4.0.Final.jar:5.4.0.Final]

                at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:195) [drools-persistence-jpa-5.4.0.Final.jar:5.4.0.Final]

                at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [classes.jar:1.6.0_33]

                at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [classes.jar:1.6.0_33]

                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [classes.jar:1.6.0_33]

                at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [classes.jar:1.6.0_33]

                at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:101) [drools-persistence-jpa-5.4.0.Final.jar:5.4.0.Final]

                at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:84) [drools-persistence-jpa-5.4.0.Final.jar:5.4.0.Final]

                at org.drools.persistence.jpa.JPAKnowledgeService.loadStatefulKnowledgeSession(JPAKnowledgeService.java:131) [knowledge-api-5.4.0.Final.jar:5.4.0.Final]

                at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.createOrLoadStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:281) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:154) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:127) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:51) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                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) [classes.jar:1.6.0_33]

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [classes.jar:1.6.0_33]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [classes.jar:1.6.0_33]

                at java.lang.reflect.Method.invoke(Method.java:597) [classes.jar:1.6.0_33]

                at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.2.Final.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.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                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.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626) [jbossweb-7.0.13.Final.jar:]

                at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039) [jbossweb-7.0.13.Final.jar:]

                at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]

       

       

      18:28:34,829 ERROR [stderr] (http--127.0.0.1-8080-6) java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException

      18:28:34,829 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:116)

      18:28:34,830 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.loadStatefulKnowledgeSession(KnowledgeStoreServiceImpl.java:84)

      18:28:34,830 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.drools.persistence.jpa.JPAKnowledgeService.loadStatefulKnowledgeSession(JPAKnowledgeService.java:131)

      18:28:34,830 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.createOrLoadStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:281)

      18:28:34,831 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:154)

      18:28:34,831 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:127)

      18:28:34,832 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131)

      18:28:34,832 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25)

      18:28:34,833 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:51)

      18:28:34,833 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26)

      18:28:34,834 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19)

      18:28:34,834 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.bpm.console.server.TaskListFacade.getTaskManagement(TaskListFacade.java:72)

      18:28:34,834 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101)

      18:28:34,835 ERROR [stderr] (http--127.0.0.1-8080-6)           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      18:28:34,835 ERROR [stderr] (http--127.0.0.1-8080-6)           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      18:28:34,835 ERROR [stderr] (http--127.0.0.1-8080-6)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      18:28:34,836 ERROR [stderr] (http--127.0.0.1-8080-6)           at java.lang.reflect.Method.invoke(Method.java:597)

      18:28:34,836 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)

      18:28:34,836 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)

      18:28:34,837 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)

      18:28:34,837 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)

      18:28:34,837 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)

      18:28:34,838 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)

      18:28:34,838 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)

      18:28:34,839 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)

      18:28:34,839 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)

      18:28:34,839 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)

      18:28:34,840 ERROR [stderr] (http--127.0.0.1-8080-6)           at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      18:28:34,840 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

      18:28:34,841 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      18:28:34,841 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

      18:28:34,841 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

      18:28:34,842 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      18:28:34,842 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

      18:28:34,843 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

      18:28:34,843 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)

      18:28:34,843 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

      18:28:34,844 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

      18:28:34,844 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      18:28:34,844 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      18:28:34,845 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

      18:28:34,845 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897)

      18:28:34,845 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626)

      18:28:34,846 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039)

      18:28:34,846 ERROR [stderr] (http--127.0.0.1-8080-6)           at java.lang.Thread.run(Thread.java:680)

      18:28:34,847 ERROR [stderr] (http--127.0.0.1-8080-6) Caused by: java.lang.reflect.InvocationTargetException

      18:28:34,847 ERROR [stderr] (http--127.0.0.1-8080-6)           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

      18:28:34,847 ERROR [stderr] (http--127.0.0.1-8080-6)           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

      18:28:34,848 ERROR [stderr] (http--127.0.0.1-8080-6)           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

      18:28:34,848 ERROR [stderr] (http--127.0.0.1-8080-6)           at java.lang.reflect.Constructor.newInstance(Constructor.java:513)

      18:28:34,848 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:101)

      18:28:34,849 ERROR [stderr] (http--127.0.0.1-8080-6)           ... 44 more

      18:28:34,849 ERROR [stderr] (http--127.0.0.1-8080-6) Caused by: java.lang.RuntimeException: Could not find session data for id 1

      18:28:34,849 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.drools.persistence.SingleSessionCommandService.initKsession(SingleSessionCommandService.java:231)

      18:28:34,850 ERROR [stderr] (http--127.0.0.1-8080-6)           at org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:195)

      18:28:34,850 ERROR [stderr] (http--127.0.0.1-8080-6)           ... 49 more

      18:28:34,850 ERROR [org.jbpm.integration.console.StatefulKnowledgeSessionUtil] (http--127.0.0.1-8080-6) Error loading knowledge session : java.lang.reflect.InvocationTargetException

      18:28:35,277 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-6) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.ExceptionInInitializerError

                at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:340) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:540) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.2.Final.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.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                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.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626) [jbossweb-7.0.13.Final.jar:]

                at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039) [jbossweb-7.0.13.Final.jar:]

                at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]

      Caused by: java.lang.ExceptionInInitializerError

                at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:51) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                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) [classes.jar:1.6.0_33]

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [classes.jar:1.6.0_33]

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [classes.jar:1.6.0_33]

                at java.lang.reflect.Method.invoke(Method.java:597) [classes.jar:1.6.0_33]

                at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.2.Final.jar:]

                at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) [resteasy-jaxrs-2.3.2.Final.jar:]

                ... 23 more

      Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: Could not connect task client Mina(127.0.0.1:9123)

                at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:163) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:127) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                ... 39 more

      Caused by: java.lang.IllegalArgumentException: Could not connect task client Mina(127.0.0.1:9123)

                at org.jbpm.integration.console.TaskClientFactory.newAsyncInstance(TaskClientFactory.java:109) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.registerWorkItemHandler(StatefulKnowledgeSessionUtil.java:329) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:158) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                ... 40 more

       

       

       

      is there some suggestion or hints?

        • 1. Re: jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.drools.persistence.SingleSessionCommandService] (http--127.0.0.1-8080-6) Could not commit session: java.lang.RuntimeException: Could not find session data for id 1
          marco.rietveld

          Hi Nurlan,

           

          Let's see if the form will let me post today.

           

          It looks like this is being caused by the following problem:

           

          Caused by: java.lang.IllegalArgumentException: Could not connect task client Mina(127.0.0.1:9123)

                    at org.jbpm.integration.console.TaskClientFactory.newAsyncInstance(TaskClientFactory.java:109) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final

                    at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.registerWorkItemHandler(StatefulKnowledgeSessionUtil.java:329) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final

                    at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:158) jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final

          And unfortunately, I've been running into this problem more and more frequently recently, and I haven't figured out exactly what's causing it yet -- mostly because I haven't had time to look at it. :/

           

          Ahh.. looking in the code, it turns out that there's a property in your jbpm.console.properties file called:

          jbpm.console.task.service.strategy

          Try settting this to "Local".

           

          (Apparently, the jbpm.console.properties file is in the standalone/configuration file in your jboss AS 7 directory. )

          1 of 1 people found this helpful
          • 2. Re: jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.drools.persistence.SingleSessionCommandService] (http--127.0.0.1-8080-6) Could not commit session: java.lang.RuntimeException: Could not find session data for id 1
            nurlan.rakhimzhanov

            after that aI have this exception:

             

             

            13:25:53,048 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) foreign keys: []

            13:25:53,048 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) indexes: [processinstanceinfo_pkey]

            13:25:53,080 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) table found: public.processinstancelog

            13:25:53,081 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) columns: [id, end_date, start_date, processinstanceid, processid]

            13:25:53,081 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) foreign keys: []

            13:25:53,081 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) indexes: [processinstancelog_pkey]

            13:25:53,114 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) table found: public.sessioninfo

            13:25:53,114 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) columns: [rulesbytearray, id, startdate, optlock, lastmodificationdate]

            13:25:53,115 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) foreign keys: []

            13:25:53,115 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) indexes: [sessioninfo_pkey]

            13:25:53,159 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) table found: public.variableinstancelog

            13:25:53,159 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) columns: [id, variableinstanceid, variableid, value, log_date, processinstanceid, processid]

            13:25:53,160 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) foreign keys: []

            13:25:53,160 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) indexes: [variableinstancelog_pkey]

            13:25:53,193 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) table found: public.workiteminfo

            13:25:53,193 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) columns: [workitembytearray, name, workitemid, state, optlock, creationdate, processinstanceid]

            13:25:53,194 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) foreign keys: []

            13:25:53,194 INFO  [org.hibernate.tool.hbm2ddl.TableMetadata] (http--127.0.0.1-8080-4) indexes: [workiteminfo_pkey]

            13:25:53,195 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (http--127.0.0.1-8080-4) schema update complete

            13:25:53,196 INFO  [org.hibernate.util.NamingHelper] (http--127.0.0.1-8080-4) JNDI InitialContext properties:{}

            13:25:53,959 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-4) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.ExceptionInInitializerError

                      at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:340) [resteasy-jaxrs-2.3.2.Final.jar:]

                      at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.3.2.Final.jar:]

                      at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.3.2.Final.jar:]

                      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:540) [resteasy-jaxrs-2.3.2.Final.jar:]

                      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) [resteasy-jaxrs-2.3.2.Final.jar:]

                      at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.3.2.Final.jar:]

                      at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.2.Final.jar:]

                      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.2.Final.jar:]

                      at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.2.Final.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.13.Final.jar:]

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                      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.13.Final.jar:]

                      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:]

                      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                      at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897) [jbossweb-7.0.13.Final.jar:]

                      at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626) [jbossweb-7.0.13.Final.jar:]

                      at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039) [jbossweb-7.0.13.Final.jar:]

                      at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]

            Caused by: java.lang.ExceptionInInitializerError

                      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                      at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                      at org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:51) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                      at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                      at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                      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) [classes.jar:1.6.0_33]

                      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [classes.jar:1.6.0_33]

                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [classes.jar:1.6.0_33]

                      at java.lang.reflect.Method.invoke(Method.java:597) [classes.jar:1.6.0_33]

                      at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) [resteasy-jaxrs-2.3.2.Final.jar:]

                      at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.2.Final.jar:]

                      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.2.Final.jar:]

                      at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.2.Final.jar:]

                      at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) [resteasy-jaxrs-2.3.2.Final.jar:]

                      ... 23 more

            Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: Could not connect task client Mina(127.0.0.1:9123)

                      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:163) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:127) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                      ... 39 more

            Caused by: java.lang.IllegalArgumentException: Could not connect task client Mina(127.0.0.1:9123)

                      at org.jbpm.integration.console.TaskClientFactory.newAsyncInstance(TaskClientFactory.java:109) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.registerWorkItemHandler(StatefulKnowledgeSessionUtil.java:329) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                      at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:158) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                      ... 40 more

             

            • 3. Re: jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.drools.persistence.SingleSessionCommandService] (http--127.0.0.1-8080-6) Could not commit session: java.lang.RuntimeException: Could not find session data for id 1
              nurlan.rakhimzhanov

              after changing jbpm.console.task.service.strategy=Local in jbpm-gwt-core-5.3.0.Final.jar

               

               

              14:12:48,880 INFO  [org.hibernate.util.NamingHelper] (http--127.0.0.1-8080-1) JNDI InitialContext properties:{}

              14:12:49,388 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/gwt-console-server].[Resteasy]] (http--127.0.0.1-8080-1) Servlet.service() for servlet Resteasy threw exception: org.jboss.resteasy.spi.UnhandledException: java.lang.ExceptionInInitializerError

                        at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:340) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:540) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.2.Final.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.13.Final.jar:]

                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                        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.13.Final.jar:]

                        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489) [jbossweb-7.0.13.Final.jar:]

                        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626) [jbossweb-7.0.13.Final.jar:]

                        at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039) [jbossweb-7.0.13.Final.jar:]

                        at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_33]

              Caused by: java.lang.ExceptionInInitializerError

                        at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                        at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                        at org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:51) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                        at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                        at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                        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) [classes.jar:1.6.0_33]

                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [classes.jar:1.6.0_33]

                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [classes.jar:1.6.0_33]

                        at java.lang.reflect.Method.invoke(Method.java:597) [classes.jar:1.6.0_33]

                        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211) [resteasy-jaxrs-2.3.2.Final.jar:]

                        at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525) [resteasy-jaxrs-2.3.2.Final.jar:]

                        ... 23 more

              Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: No Persistence provider for EntityManager named org.jbpm.task

                        at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:163) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                        at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:127) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                        ... 39 more

              Caused by: javax.persistence.PersistenceException: No Persistence provider for EntityManager named org.jbpm.task

                        at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:69) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]

                        at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]

                        at org.jbpm.integration.console.HumanTaskService.getService(HumanTaskService.java:45) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                        at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.registerWorkItemHandler(StatefulKnowledgeSessionUtil.java:324) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                        at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:158) [jbpm-gwt-core-5.3.0.Final.jar:5.3.0.Final]

                        ... 40 more

               

               

              • 4. Re: jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.drools.persistence.SingleSessionCommandService] (http--127.0.0.1-8080-6) Could not commit session: java.lang.RuntimeException: Could not find session data for id 1
                swiderski.maciej

                you need to include persistence unit of task server (org.jbpm.task) in console persistence.xml which is located under gwt-console-server.war/WEB-INF/classes/META-INF so it contains both jbpm and task persistence unit as you would like to use it as local service.

                 

                HTH

                • 5. Re: jbpm5.3 on jboss-as-7.1.1.Final shows ERROR [org.drools.persistence.SingleSessionCommandService] (http--127.0.0.1-8080-6) Could not commit session: java.lang.RuntimeException: Could not find session data for id 1
                  nurlan.rakhimzhanov

                  after that i have :

                   

                   

                  7:33:48,536 WARN  [org.jbpm.task.service.TaskServiceSession] (http--127.0.0.1-8080-6) Group Knights Templer already exists in Task Server

                  17:33:48,536 INFO  [stdout] (http--127.0.0.1-8080-6) Task service running and started correctly !

                  17:33:48,637 INFO  [org.jboss.bpm.console.server.plugin.PluginMgr] (http--127.0.0.1-8080-6) Successfully loaded plugin 'org.jboss.bpm.console.server.plugin.FormDispatcherPlugin': class org.jbpm.integration.console.forms.FormDispatcherComposite

                  17:34:17,282 ERROR [stderr] (http--127.0.0.1-8080-5) java.lang.IllegalArgumentException: org.hibernate.QueryParameterException: could not locate named parameter [userId]

                  17:34:17,283 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:206)

                  17:34:17,283 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jbpm.task.service.TaskServiceSession.getTasksAssignedAsPotentialOwnerByStatusByGroup(TaskServiceSession.java:1011)

                  17:34:17,284 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jbpm.task.service.local.LocalTaskService.getTasksAssignedAsPotentialOwnerByStatusByGroup(LocalTaskService.java:189)

                  17:34:17,284 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jbpm.integration.console.TaskManagement.getUnassignedTasks(TaskManagement.java:163)

                  17:34:17,284 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRefParticipation(TaskListFacade.java:113)

                  17:34:17,285 ERROR [stderr] (http--127.0.0.1-8080-5)           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                  17:34:17,285 ERROR [stderr] (http--127.0.0.1-8080-5)           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                  17:34:17,285 ERROR [stderr] (http--127.0.0.1-8080-5)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                  17:34:17,286 ERROR [stderr] (http--127.0.0.1-8080-5)           at java.lang.reflect.Method.invoke(Method.java:597)

                  17:34:17,286 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)

                  17:34:17,286 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)

                  17:34:17,287 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)

                  17:34:17,287 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)

                  17:34:17,288 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)

                  17:34:17,288 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)

                  17:34:17,288 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)

                  17:34:17,289 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)

                  17:34:17,289 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)

                  17:34:17,289 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)

                  17:34:17,290 ERROR [stderr] (http--127.0.0.1-8080-5)           at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

                  17:34:17,290 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

                  17:34:17,290 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

                  17:34:17,291 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

                  17:34:17,291 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

                  17:34:17,292 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

                  17:34:17,292 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

                  17:34:17,292 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

                  17:34:17,293 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)

                  17:34:17,293 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

                  17:34:17,293 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

                  17:34:17,294 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

                  17:34:17,294 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

                  17:34:17,294 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

                  17:34:17,295 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897)

                  17:34:17,295 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626)

                  17:34:17,295 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039)

                  17:34:17,296 ERROR [stderr] (http--127.0.0.1-8080-5)           at java.lang.Thread.run(Thread.java:680)

                  17:34:17,296 ERROR [stderr] (http--127.0.0.1-8080-5) Caused by: org.hibernate.QueryParameterException: could not locate named parameter [userId]

                  17:34:17,297 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.hibernate.engine.query.ParameterMetadata.getNamedParameterDescriptor(ParameterMetadata.java:99)

                  17:34:17,297 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.hibernate.engine.query.ParameterMetadata.getNamedParameterExpectedType(ParameterMetadata.java:105)

                  17:34:17,297 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.hibernate.impl.AbstractQueryImpl.determineType(AbstractQueryImpl.java:437)

                  17:34:17,298 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:407)

                  17:34:17,298 ERROR [stderr] (http--127.0.0.1-8080-5)           at org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:201)

                  17:34:17,298 ERROR [stderr] (http--127.0.0.1-8080-5)           ... 36 more