1 Reply Latest reply on Dec 6, 2009 10:32 PM by peng quan

    JBPM4.2 deploy problems

    peng quan Newbie

      I use the code deploy process, But I deploy each time, it will make the JBPM table empty. And, the JBPM db only have jbpm/Order.jpdl.xml process.
      Why?

      public class JbpmTest {
      
       public static void main(String[] args) {
       Configuration configuration = new Configuration();
       ProcessEngine processEngine = configuration.buildProcessEngine();
       RepositoryService repositoryService = processEngine.getRepositoryService();
       ExecutionService executionService = processEngine.getExecutionService();
       TaskService taskService = processEngine.getTaskService();
       HistoryService historyService = processEngine.getHistoryService();
       ManagementService managementService = processEngine.getManagementService();
       String deploymentId = repositoryService.createDeployment()
       .addResourceFromClasspath("jbpm/Order.jpdl.xml")
       .deploy();
      
       }
      }