Hi All,
I am new to jbpm and running into an issue.
I create a JBPM project in eclipse and deployed it ...i am running jbpm server from /opt/jbpm-jdpl-3.2.3/server/bin
Now when i go to http://localhost:8080/jbpm-console, i can kick off the workflow....so far so good....
Now I wrote a java class to invoke the workflow, and the class is at /home/ashish/InvokeWF/ and here is the source code for that....
import java.io.FileInputStream; import org.jbpm.graph.def.ProcessDefinition; import org.jbpm.graph.exe.ProcessInstance; public class Main { public static void main(String[] args) { try{ testSimpleProcess(); } catch(Exception ex) { System.out.println(ex.getMessage()); } } public static void testSimpleProcess() throws Exception { FileInputStream inputFS = new FileInputStream("/home/ashish/Workflow/SubmitWF/trunk/bin/submit-process/processdefinition.xml"); ProcessDefinition processDefinition = ProcessDefinition.parseXmlInputStream(inputFS); ProcessInstance instance = new ProcessInstance(processDefinition); instance.signal(); } }
couldn't parse jbpm configuration from resource 'jbpm.cfg.xml'