[jboss-user] [JBoss jBPM] - How to get the jbpm context ?

yegaofei888@sohu.com do-not-reply at jboss.com
Thu Dec 14 06:40:51 EST 2006


Hi All,

I am converting the jbpm websales to jportal portlet.

I found that: the

  |  JbpmContext.getCurrentJbpmContext()
  | 
method doesn't work, in other words, it returns NULL

But 

  | JbpmConfiguration.getInstance().createJbpmContext();
  | 
works fine. It also can get the default jbpm context.

I wonder if the second code is correct. Could you please tell me the differences between them? 

Thanks!

My portal is 2.4.0  jboss is 4.0.4.GA  and jbpm is 3.1.2

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993798#3993798

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993798



More information about the jboss-user mailing list