0 Replies Latest reply on May 2, 2007 1:12 PM by ricardomarques

    No error on deploying

    ricardomarques

      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?