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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content