[jboss-user] [JBoss jBPM] - Concurrent Processing using Fork in synchronous manner
do-not-reply at jboss.com
Fri Jul 6 11:11:13 EDT 2007
I am trying to work on a scenario where there are two transitions for a particular fork. Each of the transition is having a state and a node of execution. When we try to signal both the state(s) simultaneously, we get Hibernate error as StaleObjectStateException.
I am quite aware of the fact already pointed out in previous forums that Fork is not meant for implementing concepts of multi-threading and concurrent processing. But my question is that is this is a JBPM issue that we are not able to update the process instance (basically the JBPM_TOKEN table) concurrently?
Actually in my scenario where I signal the state(s) i both the paths of execution simultaneously, when one path of execution completes, the data for that particular path of execution gets persisted. But when the second path of execution also completes after sometime, then we get Hibernate Exception.
If the developers of JBPM can please help me in this then it will be really helpful.
Looking forward for your responses.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061351#4061351
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061351
More information about the jboss-user