You can check the dvd-store on how to do that.
However the approach won't work if you have no process definition or page flow
definition declared in your components.xml file.
The way is to right your own startup class that can initiate the jBPM engine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057662#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...