How to mitigate the timeout issues when a container is starting in JBoss BPMS 6 cluster?

Solution Verified - Updated -

Issue

  • Given a cluster of the Process Server with 2 servers, while the server 2 is restarted and a deployed container starts ok, the server 1 is restarted and the container fails and showing the following error:
2019-03-21 02:04:53,855 INFO  [org.reflections.Reflections] (EJB default - 1) Reflections took 49 ms to scan 2 urls, producing 44 keys and 125 values 
2019-03-21 02:09:53,920 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffff0ab15452:-5491ba86:5c92e296:7f in state  RUN
2019-03-21 02:09:53,951 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012095: Abort of action id 0:ffff0ab15452:-5491ba86:5c92e296:7f invoked while multiple threads active within it.
2019-03-21 02:09:53,951 WARN  [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012108: CheckedAction::check - atomic action 0:ffff0ab15452:-5491ba86:5c92e296:7f aborting with 1 threads active!
2019-03-21 02:09:53,955 WARN  [com.arjuna.ats.arjuna] (EJB default - 1) ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffff0ab15452:-5491ba86:5c92e296:27ca, org.drools.persistence.jta.JtaTransactionSynchronizationAdapter@6c1dfb43 >: javax.persistence.TransactionRequiredException: no transaction is in progress
...
        at org.jbpm.runtime.manager.impl.PerProcessInstanceRuntimeManager.init(PerProcessInstanceRuntimeManager.java:440) [jbpm-runtime-manager-6.5.0.Final-redhat-19.jar:6.5.0.Final-redhat-19-RHBPMS-5143]
        at org.jbpm.runtime.manager.impl.RuntimeManagerFactoryImpl.newPerProcessInstanceRuntimeManager(RuntimeManagerFactoryImpl.java:97) [jbpm-runtime-manager-6.5.0.Final-redhat-19.jar:6.5.0.Final-redhat-19-RHBPMS-5143]
        at org.jbpm.kie.services.impl.AbstractDeploymentService.commonDeploy(AbstractDeploymentService.java:141) [jbpm-kie-services-6.5.0.Final-redhat-19.jar:6.5.0.Final-redhat-19]
        at org.jbpm.kie.services.impl.KModuleDeploymentService.deploy(KModuleDeploymentService.java:197) [jbpm-kie-services-6.5.0.Final-redhat-19.jar:6.5.0.Final-redhat-19]
        at org.kie.server.services.jbpm.JbpmKieServerExtension.createContainer(JbpmKieServerExtension.java:347) [kie-server-services-jbpm-6.5.0.Final-redhat-19.jar:6.5.0.Final-redhat-19]
        at org.kie.server.services.impl.KieServerImpl.createContainer(KieServerImpl.java:251) [kie-server-services-common-6.5.0.Final-redhat-19.jar:6.5.0.Final-redhat-19]

Environment

  • Red Hat JBoss BPM Suite (BPMS)
    • 6.4

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