I'm in the "process" of evaluating jBPM and have come across the problem below (I have skimmed through classloader posts with no solution).
I'm able to package up a par with 2 ActionHandlers + 1 data class and upload it via gpd 3.0.8 (patched for additional class inclusion) to a tomcat 5.5.12 webapp including jbpm 3.1.
The first actionHandler creates an object and stores it in the processcontext. The second actionHandler is able to find it, however, a ClassCastException occurs when I try to cast it to a variable of the very same class type.
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" name="simple"> <start-state name="start"> <event type="node-leave"> <action name="actionA" class="simple.HandlerA"></action> <action name="actionB" class="simple.HandlerB"></action> </event> <transition name="end" to="end"></transition> </start-state> <end-state name="end"></end-state> </process-definition>
we have the very same problem in our project,
does anyone know of a a solution?