Process definition is not persisted in standalone jBPM3

Solution Unverified - Updated -

Issue

I'm using the following code trying to deploy the process definition in a par file

fileInputStream = new FileInputStream(resourceLocation);
ZipInputStream zipIpInputStream = new ZipInputStream(fileInputStream);
ProcessDefinition processDefinition = ProcessDefinition.parseParZipInputStream(zipIpInputStream);
jbpmContext.deployProcessDefinition(processDefinition);

right after calling above, I can see the new process definition by calling the following

List<ProcessDefinition> lst = jbpmContext.getGraphSession().findAllProcessDefinitions();

However, I could not see it in either database jbpm table or EAP jbpm console.

Environment

  • JBoss Enterprise SOA Platform
    • 5.2.0
  • jBPM3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.