You shouldn't create a new ProcessDefinition object by calling
ProcessDefinition p = new ProcessDefinition("myprocess");
first.

Instead, create it like this:
ZipInputStream zipInputStream = new ZipInputStream(new 
FileInputStream("c:\\myprocess.par"));
  | ProcessDefinition processDefinition = 
ProcessDefinition.parseParZipInputStream(zipInputStream);
  | jbpmContext.deployProcessDefinition(processDefinition);
  | zipInputStream.close();     

Regards, Martin

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047597
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to