5 Replies Latest reply on Dec 18, 2006 7:21 AM by Ronald van Kuijk

    Missing processdefinition after Jboss server restart

    anu123suya Newbie

      Hi,
      I am using default hypersonic database. Each time when i restart the jboss appserver, processdefinition entry is missing in the DB table. I need to freshly deploy it once again.

      can any one suggest me what could be the problem?

      code used for deployment is,

      JbpmConfiguration jbpmConfig = JbpmConfiguration.getInstance();
      JbpmContext jbpmContext = jbpmConfig.createJbpmContext();
      ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource("META-INF/processdefinition.xml");
      jbpmContext.deployProcessDefinition(processDefinition);