1 Reply Latest reply on Nov 6, 2008 11:52 AM by salaboy21

    jBPM in different class loaders

    trumml

      I want to use jBPM for "web modules" - each web module is running in a separate WAR with separate class loaders.
      This would mean that I have a jPVM per class loader and per web module.

      Could this cause any problems, because the same process instance would run in different jPVMs. E.g. what happens if I try to execute the same task from different jPVMs?

        • 1. Re: jBPM in different class loaders
          salaboy21

          When you try to execute the same thing in two separate classloaders one will get a IllegalStateException, that is a normal exception that you need to be prepared to catch.
          And yes, you will need a jbpm-jpdl*.jar in all your web modules.
          Hope it helps