[jboss-user] [JBoss jBPM] - No error on deploying
ricardomarques
do-not-reply at jboss.com
Wed May 2 13:12:16 EDT 2007
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
More information about the jboss-user
mailing list