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?
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