[jboss-svn-commits] JBL Code SVN: r30435 - labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Dec 2 09:38:42 EST 2009
Author: mark.little at jboss.com
Date: 2009-12-02 09:38:42 -0500 (Wed, 02 Dec 2009)
New Revision: 30435
Modified:
labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/XAResourceRecord.java
Log:
https://jira.jboss.org/jira/browse/JBTM-605
Modified: labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/XAResourceRecord.java
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/XAResourceRecord.java 2009-12-02 14:38:25 UTC (rev 30434)
+++ labs/jbosstm/trunk/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/resources/jts/orbspecific/XAResourceRecord.java 2009-12-02 14:38:42 UTC (rev 30435)
@@ -895,6 +895,7 @@
updateState(TwoPhaseOutcome.HEURISTIC_HAZARD);
throw new org.omg.CosTransactions.HeuristicHazard();
case XAException.XAER_PROTO:
+ case XAException.XA_RETRY: // not allowed to be thrown here by XA specification!
// presumed abort (or we could be really paranoid and throw a heuristic)
throw new TRANSACTION_ROLLEDBACK();
@@ -902,7 +903,6 @@
case XAException.XAER_RMFAIL: // resource manager failed,
// did it rollback?
throw new org.omg.CosTransactions.HeuristicHazard();
- case XAException.XA_RETRY:
default:
_committed = true; // will cause log to be rewritten
More information about the jboss-svn-commits
mailing list