[jboss-user] [JBoss jBPM] - Re: JbpmContext is always null
salaboy21
do-not-reply at jboss.com
Wed Nov 26 09:39:35 EST 2008
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#4192490
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192490
More information about the jboss-user
mailing list