]
Michael Musgrove commented on JBTM-2995:
----------------------------------------
My supposition is that it is a test environment issue and the run is trying to recovery an
old (JTS) log being left around from a previous step in the CI build. I have not been able
to reproduce the issue in order to validate my hypothesis.
RTS InboundBridgeRecoveryTestCase hanging
-----------------------------------------
Key: JBTM-2995
URL:
https://issues.jboss.org/browse/JBTM-2995
Project: JBoss Transaction Manager
Issue Type: Bug
Components: REST
Affects Versions: 5.7.2.Final
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Fix For: 5.next
The following test is hanging:
org.jboss.narayana.rest.bridge.inbound.test.integration.InboundBridgeRecoveryTestCase
and the WildFly server log for the run is reporting that TM recovery is starting before
the ORB has initialised and therefore the deploy of the test fails:
2018-02-20 01:56:03,233 WARN [com.arjuna.ats.arjuna] (Periodic Recovery) ARJUNA012087:
Activate of atomic action with id 0:ffffac110014:-3aed03e2:5a8b802e:14 and type
/StateManager/BasicAction/TwoPhaseCoordinat
or/ArjunaTransactionImple/ServerTransaction/JCA unexpectedly failed, could not load
state.
2018-02-20 01:56:03,236 FATAL [com.arjuna.ats.jts] (MSC service thread 1-7) ARJUNA022006:
The ORB has not been initialized yet
2018-02-20 01:56:03,236 FATAL [com.arjuna.ats.jts] (Periodic Recovery) ARJUNA022006: The
ORB has not been initialized yet
2018-02-20 01:56:03,236 ERROR [stderr] (Periodic Recovery) Exception in thread
"Periodic Recovery" com.arjuna.ats.arjuna.exceptions.FatalError
2018-02-20 01:56:03,237 ERROR [stderr] (Periodic Recovery) at
com.arjuna.ats.internal.jts.ORBManager.getPOA(ORBManager.java:97)
2018-02-20 01:56:03,237 ERROR [stderr] (Periodic Recovery) at
com.arjuna.ats.internal.jts.orbspecific.ControlImple.createTransactionHandle(ControlImple.java:524)
2018-02-20 01:56:03,236 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7)
MSC000001: Failed to start service jboss.txn.context.local:
org.jboss.msc.service.StartException in service jboss.txn.context.l
ocal: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1693)
at
org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1527)
at
org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1481)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1374)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.arjuna.ats.arjuna.exceptions.FatalError
at com.arjuna.ats.internal.jts.ORBManager.getPOA(ORBManager.java:97)
at
com.arjuna.ats.internal.jts.orbspecific.ControlImple.createTransactionHandle(ControlImple.java:524)
at
com.arjuna.ats.internal.jts.orbspecific.interposition.ServerControl.<init>(ServerControl.java:223)
at
com.arjuna.ats.internal.jta.transaction.jts.subordinate.jca.SubordinateAtomicTransaction.<init>(SubordinateAtomicTransaction.java:71)
at
com.arjuna.ats.internal.jta.transaction.jts.subordinate.jca.TransactionImple.<init>(TransactionImple.java:77)
at
com.arjuna.ats.internal.jta.transaction.jts.jca.TransactionImporterImple.recoverTransaction(TransactionImporterImple.java:98)
at
com.arjuna.ats.internal.jta.transaction.arjunacore.jca.XATerminatorImple.doRecover(XATerminatorImple.java:434)
at
org.wildfly.transaction.client.provider.jboss.JBossLocalTransactionProvider.<init>(JBossLocalTransactionProvider.java:85)
at
org.wildfly.transaction.client.provider.jboss.JBossJTALocalTransactionProvider.<init>(JBossJTALocalTransactionProvider.java:52)
at
org.wildfly.transaction.client.provider.jboss.JBossLocalTransactionProvider$Builder.build(JBossLocalTransactionProvider.java:746)
at
org.jboss.as.txn.service.LocalTransactionContextService.start(LocalTransactionContextService.java:57)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1701)
2018-02-20 01:56:03,237 ERROR [stderr] (Periodic Recovery) at
com.arjuna.ats.internal.jts.ORBManager
.getPOA(ORBManager.java:97)
at
org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.arjuna.ats.arjuna.exceptions.FatalError
at com.arjuna.ats.internal.jts.ORBManager.getPOA(ORBManager.java:97)