[jboss-user] [JBoss jBPM] - Re: new instance

ricardomarques do-not-reply at jboss.com
Tue May 22 09:47:20 EDT 2007


Hello Martin, thanks for your feedback.

Regarding your post, you got the rabbit! I get no rows for that query. In fact I  only get rows for the first two process that I deployed, and I going on 15th.

The code i'm using to deploy is this:


  | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
  |         JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  |         try {
  |                 ProcessDefinition p = new ProcessDefinition("myprocess");
  |                 
  |                 p.parseParZipInputStream(new ZipInputStream(new FileInputStream("c:\\myprocess.par")));
  |                 
  |                 jbpmContext.deployProcessDefinition(p);
  | 
  |            
  |         }
  |         catch (Exception e) {
  |             e.printStackTrace();
  |         }
  |         finally {
  |                 jbpmContext.close();
  |         }
  | 

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

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



More information about the jboss-user mailing list