[jboss-user] [JBoss jBPM] - JbpmContext is always null

dkmorb do-not-reply at jboss.com
Wed Nov 26 07:02:56 EST 2008


Hi all,
i'm new here...I want to obtain a list of deployed process on jbpm. 
I try this two lines:

  | JbpmContext context = JbpmConfiguration.getInstance().createJbpmContext("jbpm.cfg.xml");
  | 		
  | List<ProcessDefinition> processList = context.getGraphSession().findAllProcessDefinitions();
  | 

but context is null :-( 
I must say jbpm.cfg.xml is empty...

Any suggestions???

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

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



More information about the jboss-user mailing list