I have an processdefinition in which each node needs a ActionHandler with a particular implementation. To make it cleaner I have an Abstract class that implements the ActionHandler and each of the handler for the node extends it. Now when I run this definition keeping the abstract class as part of the par file, everything seems to work fine.
But if I moved the abstract class into a common.jar and have the processdefinition access it during runtime, its throwing classdefnotfound exception for executioncontext.
Any thoughts, how I can abstract the repeating code into a separate jar that can be accessed by the definitions.
Thanks in advance
depends on how you deployed the jbpm jar as well. If that is global then there should be no problem. If that is in a war and the common.jar is global then there is a problem (not jbpm related btw, but generic classloading)