hi all

I have this code to upload a definition that I created on eclipse, but it 
simply doesn't deploy, and doesn't output any kind of error.

I'm using the following code:



  | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
  |             JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | 
  |             ZipInputStream zis = null;
  |                 
  |             try {
  |                 zis = new ZipInputStream(new 
FileInputStream("D:\\mail.par"));
  |                 
  |                 ProcessDefinition processDefinition = 
ProcessDefinition.parseParZipInputStream (zis);
  |                 jbpmContext.deployProcessDefinition (processDefinition);    
  |                 
  |             }
  |             catch (Exception ex) {
  |                 System.err.println(ex);
  |             }
  |             finally {
  |                 jbpmContext.close();
  |             }

Is every thing alright?

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

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

Reply via email to