"DeploymentStore" returns null if "DeploymentSynchronizer" is disabled in JBoss BPM Suite 6.2.2
Environment
- Red Hat JBoss BPM Suite (BPMS) 6.2.0, 6.2.1, 6.2.2
Issue
DeploymentStorereturns null ifDeploymentSynchronizeris disabled;- By calling the
DeploymentServiceEJBLocal.deploy()an error is thrown:
ERROR [org.jbpm.kie.services.impl.store.DeploymentSynchronizer] (ServerService Thread Pool -- 82) Unable to store deployment xx.yyy.redhat:redhat-bpm:1.0.182 [strategy=SINGLETON] in deployment store due to null
Resolution
As long as there is no cluster and replication between cluster members is required it should be fine to ignore that exception. It will be fixed in BPM Suite 6.3 release and there is a bugzilla opened to fix that in JBoss BPM Suite 6.2 Update 3.
Root Cause
It happens due to the DeploymentSynchronizer.deploymentStore property is null and it is null because DeploymentSynchronizer has been disabled in the application side as follows: org.jbpm.deploy.sync.enabled=false
Please refers to BZ-1324835 for further details.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments