1 Reply Latest reply on Mar 11, 2011 5:04 AM by Robert Schmelzer

    jBPM cluster environment

    J J Newbie

      Hi,

       

      Can everyone share their experience/strategy/implementation on how they used jBPM in a clustered environment? We are looking to run jBPM on multiple tomcat instances.

       

      Scenarios

       

      1) user a is updating a workflow with multiple states. user a may go to tomcat1, tomcat2, tomcat3, etc on each HTTP request

      2) user a and user b are working on the same workflow. user a goes to tomcat1 and user b goes to tomcat 2. How to synchronize the updates?

      3) user a goes to tomcat1. tomcat1 crashes. user a now is routed to tomcat2. How to achive availability and state consistency?

        • 1. jBPM cluster environment
          Robert Schmelzer Newbie

          Hi,

           

          we have implemented a jBPM3 based system on a 4 node cluster driving roundabout 5000 long running processes a day. All nodes are using the same Oracle DB. We are driving the processes using asynchronous transacted JMS messages. So in case of crashes the JMS messages are not acknowledged and another node in our JBoss cluster will be responsible for the message. Because jBPM cannot handle concurrent updates we are doing pessimistic database locking on our main business object to garantee that only one node drives a process at certain moment in time.

           

          Where are you located? I can also give you personal support on this topic.

           

          Regards

          Robert