4 Replies Latest reply on May 23, 2007 11:55 PM by malish

    Can jBpm deployed in a distributed system?

    cron1

      currently I just work in a project, and just want to select one of the open-source workflow system, we need to know if jBpm can be deployed in distributed system.

      please help me if you have some ideas or have done some project with jBpm in distributed system.

      thinks in advance

        • 1. Re: Can jBpm deployed in a distributed system?
          cron1

          I mean in clustering distributed system

          anyone knows ?

          • 2. Re: Can jBpm deployed in a distributed system?

            I know you have to switch the secondary hibernate cache to JBossCache or similar. No experience, though!

            -Ed Staub

            • 3. Re: Can jBpm deployed in a distributed system?
              cron1

               

              "estaub" wrote:
              I know you have to switch the secondary hibernate cache to JBossCache or similar. No experience, though!

              -Ed Staub


              thinks

              • 4. Re: Can jBpm deployed in a distributed system?
                malish

                You should not have any issues running JBPM in a cluster of any configuration. Just make sure that you start JobExecutor on one node only. This is to avoid competition between the nodes, because JobExecutor runs at fairly high rate.

                What we have done for our cluster, created a com.xxx.jbpm.start.war component that is deployed/enabled on one node only. All it does is upon startup runs the following code:

                org.jbpm.job.executor.JobExecutor exe =
                jbpmConfiguration.getJobExecutor();
                exe.start();

                This lanuches the background heartbeat for JBPM. Other configurations are also possible, but that would depend on your specifics.