Hide Forgot
Affects: Release Notes Date of First Response: 2009-08-12 06:42:50 Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/326994 project_key: SOA If you omit binding attribute for <sub-process> in <process-state> and deploy the process definition with Eclipse or org.jbpm.ant.DeployProcessToServerTask, resolving sub-process will fail. When you run the parent process with jbpm-console after the deployment, jbpm-console will show -- "org.jbpm.JbpmException" was thrown. The message is: can't create a process instance when processDefinition is null -- ProcessUploadServlet calls jbpmConfiguration.createJbpmContext() after parsing and before deploying. If jbpmContext is not created before parsing, sub-process won't be resoleved(the call to DbSubProcessResolver.findSubProcess returns null.). So the default behaviour of binding attribute(parse time resolving) will fail. This is almost the same issue as SOA-1427. But different use case (Eclipse / ant-task) and different class (org.jbpm.web.ProcessUploadServlet)
Link: Added: This issue incorporates JBPM-2475
In addition, DeployProcessTask has the same problem. org.jbpm.ant.DeployProcessTask should be fixed, too.
Resolved in revision 3555 (4.3 branch) of: build-tools/builders/soa/p-consoles/jbpm/resources/jbpm-2460 build-tools/builders/soa/p-consoles/jbpm/resources/jbpm-2460/DeployProcessActionListener.java build-tools/builders/soa/p-consoles/jbpm/resources/jbpm-2475 build-tools/builders/soa/p-consoles/jbpm/resources/jbpm-2475/ProcessUploadServlet.java build-tools/builders/soa/p-consoles/jbpm/build.xml Commit message: > SOA-1427 > SOA-1433 > Copy fixes from JSF console jsf-console-3.2-soa branch for JBPM-2460 and > JBPM-2475. and with the updates for JBPM-2475 on the jBPM `jbpm-3.2-soa' branch.
Note from Toshiya: I verified that this bug was fixed and CP02 worked fine.