[jboss-user] [JBoss jBPM] - Synchronization problem

lucapino do-not-reply at jboss.com
Fri Aug 31 10:03:54 EDT 2007


Hi all,
  we are developing an application using jBPM.
This application has a scheduler that instances jBPM processes in different thread.
These processes are long term automatic processes (made of several 'node' step each with an actionHandler) which spans several minutes.
When in one of the step the actionHandler raise an exception, we suspend and save the process instance.

We then develop a console that query the jBPM engine to find the suspended processes, in order to resume or kill the execution.

The problem we have is this: when we call findProcessInstances() to retrieve the process instances from the database, jBPM did not responds until all the process in execution ends or is suspended.

It seems that there is a problem of concurrence in the database access.

We didn't find any advice to solve this.

Any help would be appreciated.

Thanks in advance

Luca

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080018#4080018

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080018



More information about the jboss-user mailing list