Nurlan Rakhimzhanov [
https://community.jboss.org/people/nurlan.rakhimzhanov] created the
discussion
"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"
To view the discussion, visit:
https://community.jboss.org/message/747380#747380
--------------------------------------------------------------
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
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/747380#747380]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]