Where are you running this code?
if you are doing this in a JUnit test, you must ensure that jbpm.cfg.xml is in your
classpath, so you can do the following:
| JbpmConfiguration conf= JbpmConfiguration.getInstance();
| JbpmContext context=conf.createJbpmContext();
|
Then you should check that your context is not null.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192490#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...