[JBoss JIRA] (JBTM-2739) Add a CI job for testing jboss-transaction-spi
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2739?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2739.
-------------------------------
> Add a CI job for testing jboss-transaction-spi
> ----------------------------------------------
>
> Key: JBTM-2739
> URL: https://issues.jboss.org/browse/JBTM-2739
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: SPI
> Affects Versions: 5.3.4.Final
> Reporter: Michael Musgrove
> Assignee: Michael Musgrove
> Fix For: 5.4.0.Final
>
>
> We need a CI job to test that narayana works with the latest jboss-transaction-spi and this should include PRs as well as master.
> In addition, the two projects duplicate tests so the the duplicates need removing from narayana (but only after we have added this CI testing).
> Note that jboss-transaction-spi has a test dependency on the last released stable version of narayana so that dependency would need to changed to the version of our current SNAPSHOT for these new proposed CI jobs to be useful.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months
[JBoss JIRA] (JBTM-2771) JTS XAResources that throw XA_RETRY or XAER_RMFAIL cannot be retried
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2771?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2771.
-------------------------------
> JTS XAResources that throw XA_RETRY or XAER_RMFAIL cannot be retried
> --------------------------------------------------------------------
>
> Key: JBTM-2771
> URL: https://issues.jboss.org/browse/JBTM-2771
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: JTS
> Affects Versions: 5.3.5.Final
> Reporter: Ondra Chaloupka
> Assignee: Tom Jenkinson
> Priority: Blocker
> Fix For: 5.4.0.Final
>
> Attachments: JMSProxyMessagingServerCrashRecoveryTestCase_prepareHalt_jts_server.log
>
>
> There is a flag that is persisted _committed which defines if a commit was attempted on an XAResource. In the case where the XAR returned XARETRY for example, we would have consulted that flag and not reattempted the commit.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months
[JBoss JIRA] (JBTM-2774) Leak when imported subordinate transactions are rolled back by reaper before remote reaper
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2774?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2774.
-------------------------------
> Leak when imported subordinate transactions are rolled back by reaper before remote reaper
> ------------------------------------------------------------------------------------------
>
> Key: JBTM-2774
> URL: https://issues.jboss.org/browse/JBTM-2774
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: Application Server Integration
> Reporter: Tom Jenkinson
> Assignee: Tom Jenkinson
> Priority: Critical
> Fix For: 4.17.38, 5.2.20.Final, 5.4.0.Final
>
>
> When using the EJB remoting transport that layers over the top of JCA it is possible for a race condition between the two reapers.
> Normally you have server 1 and server 2. Each of these insert the TwoPhaseCoordinator in their TransactionReaper. If the TransactionReaper in server 2 fires first then it will rollback the TPC.
> When server 1 Reaper EJB remoting transport fires it will try to rollback at server 2 also and it is this that should be safe to remove the transactionImple reference.
> At the time of reporting the reference is not removed though and so the reference to the TransactionImple is not removed.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months
[JBoss JIRA] (JBTM-2769) CMR resource calls xa_forget on local resources
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2769?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2769.
-------------------------------
> CMR resource calls xa_forget on local resources
> -----------------------------------------------
>
> Key: JBTM-2769
> URL: https://issues.jboss.org/browse/JBTM-2769
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Affects Versions: 5.3.5.Final
> Reporter: Ondra Chaloupka
> Assignee: Tom Jenkinson
> Priority: Blocker
> Fix For: 5.4.0.Final
>
>
> {code}
> 2016-10-06 17:50:17,105 WARN [com.arjuna.ats.arjuna] (Periodic Recovery) ARJUNA012290: failed to recover Transaction 0:ffff7f000001:6351fff9:57f67185:2a: java.lang.NullPointerException
> at com.arjuna.ats.internal.jta.resources.arjunacore.CommitMarkableResourceRecord.forgetHeuristic(CommitMarkableResourceRecord.java:544)
> at com.arjuna.ats.arjuna.coordinator.BasicAction.doForget(BasicAction.java:3603)
> at com.arjuna.ats.arjuna.coordinator.BasicAction.forgetHeuristics(BasicAction.java:1347)
> at com.arjuna.ats.arjuna.coordinator.BasicAction.phase2Abort(BasicAction.java:1991)
> at com.arjuna.ats.arjuna.coordinator.BasicAction.doCommit(BasicAction.java:2852)
> at com.arjuna.ats.arjuna.coordinator.BasicAction.phase2Commit(BasicAction.java:1871)
> at com.arjuna.ats.arjuna.recovery.RecoverAtomicAction.replayPhase2(RecoverAtomicAction.java:71)
> at com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule.doRecoverTransaction(AtomicActionRecoveryModule.java:152)
> at com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule.processTransactionsStatus(AtomicActionRecoveryModule.java:253)
> at com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule.periodicWorkSecondPass(AtomicActionRecoveryModule.java:109)
> at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.doWorkInternal(PeriodicRecovery.java:811)
> at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.run(PeriodicRecovery.java:377)
> {code}
> A local resource will have no concept of the forget and indeed the app server has an implementation that throws an exception if you call it.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months
[JBoss JIRA] (JBTM-2779) Add licence file to missing quickstarts
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2779?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2779.
-------------------------------
> Add licence file to missing quickstarts
> ---------------------------------------
>
> Key: JBTM-2779
> URL: https://issues.jboss.org/browse/JBTM-2779
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: Demonstrator
> Reporter: Tom Jenkinson
> Assignee: Amos Feng
> Fix For: 5.4.0.Final
>
>
> There are a lot of quickstarts that do not have the expected licence declarations at the top of their files.
> You can find these:
> find . -type f | grep -v git | grep -v jar | grep -v tools | xargs grep -H -c 'Lesser\|LICENSE-2' | grep 0$ | cut -d':' -f1 | wc
> The correct licence should be added to them, you may find it easy to cat a licence file (in the correct .java, .xml, .sh, .bat format) to them.
> The licence is LGPL. Those that were originally ASL etc should remain that way.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 8 months