1 Reply Latest reply on Nov 15, 2010 9:20 AM by jinlin ning

    jbpm4.4 deployment problem

    parvathy j a Newbie

      hi,  

      I was trying to deploy a jpdl as an input stream..itz getting deployed in the database and values are coming in JBPM4_LOB and JBPM4_DEPLOYMENT table..but no value is coming in JBPM4_DEPLOYPROP table..without value coming in that table how can i start my process..bcoz there is no process definition id and process definition key..plz do respond for this...

      my code snippet is

      File file = new File("C:\\Parvathy\\CRM\\workspace\\examples\\src\\org\\jbpm\\examples\\customtask\\CustomTask.jpdl.xml");

      InputStream input = new java.io.FileInputStream(file);

      String deploymentId = repositoryService.createDeployment().addResourceFromInputStream("CustomTask", input).deploy();

       

       

      Thanking you

      Parvathy

        • 1. Re: jbpm4.4 deployment problem
          jinlin ning Newbie

          public String deploy(){
                 
                  ZipInputStream zis = new ZipInputStream(this.getClass().getResourceAsStream("/chooseSite.zip"));
                 
                  String did = repositoryService.createDeployment()
                          .addResourcesFromZipInputStream(zis).deploy();
                 
                  return SUCCESS;
              }