-
Bug
-
Resolution: Done
-
Major
-
7.1.0.DR18
-
None
We have test which checks whether EIS is capable to finish transaction after JVM crash.
The scenario is following:
- 2 test XA resources are enlisted
- EIS RAR XATerminator calls prepare and commit
- JVM crash occurs at the start of the first XAResource.commit call
- app server is restarted
- doRecoveryScan()/waitForOrphanInterval/doRecoveryScan()
- both (mock) XAResources are not rolled-back
- EIS XATerminator.commit is called
- doRecoveryScan()/waitForOrphanInterval/doRecoveryScan()
- both (mock) XAResources are committed
but the committed tx is not removed from log:
jvmCrashAfterPrepareJTS(org.jboss.as.test.jbossts.crashrec.jca.test.JcaInflowTransactionTestCase) Time elapsed: 125.532 sec <<< FAILURE! java.lang.AssertionError: After commiting txn there should be no one in the txn log expected:<0> but was:<1> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:645) at org.jboss.as.test.jbossts.crashrec.jca.test.JcaInflowTransactionTestCase.jvmCrashAfterPrepareJTS(JcaInflowTransactionTestCase.java:763)
- is blocked by
-
WFTC-28 XAException RETRY code is wrapped to XAER_RMERR for failure on commit of imported transaction
- Resolved
-
JBEAP-11730 Upgrade Narayana to 5.5.25.Final
- Closed
- is cloned by
-
JBTM-2908 JCA committed inflow transaction is not moved to assumed completed category for JTS
- Closed
- is related to
-
JBEAP-5880 Prevent JTS bottom-up recovery from rolling back prepared inflowed JCA transactions
- Verified
-
JBEAP-11425 WFTC returns XA errco XAER_RMERR error code when commit transiently fails where XA_RETRY should be used
- Closed
-
JBEAP-11528 Call of JCA RAR XATerminator.recover does not propagate to correct implementation of Narayana terminator
- Closed
-
JBTM-2907 Implement doRecover method into JTS XATerminatorImple for WFTC inflow jca txn integration works
- Closed
- relates to
-
JBEAP-7355 JTS bottom-up could roll-back prepared inflowed JCA transactions
- Closed