JBoss Community

Clustered jBPM

created by M Arnold in jBPM - View the full discussion

Hi,

 

I'm evaluating jBPM 5.2.  I have a doubt after reading this section of the document: 5.8.7. Multi-threading , specifically:

 

Therefore, we only allow one thread to be processing a specific process instance at each time.

 

Does jBPM rely on this?  I would like to run jBPM inside multple instances of JBoss AS 5.1. If I have a process which uses a gateway to split into multiple parallel workflows, and these workflows each execute asynchronous tasks, what would happen these tasks completed in separate instances of jBPM at the same time?  Could this lead to the same process instance executing twice at the same time?  If so, is it possible to lock on the persistence store (which is shared) or a clustered EJB entity, instead of just at a JVM level?

 

Thanks in advance for any info.

Reply to this message by going to Community

Start a new discussion in jBPM at Community