JBoss Community

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

created by Marco Rietveld in jBPM - View the full discussion

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. )

Reply to this message by going to Community

Start a new discussion in jBPM at Community