8 Replies Latest reply on Nov 26, 2008 11:53 AM by Mauricio Salatino

    JbpmContext is always null


      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???