[jboss-jira] [JBoss JIRA] (JBJCA-1101) Downgrade logging of XAException::XA_RB∗ during XAResource::end(TMFAIL)

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Thu Oct 17 12:02:02 EDT 2013


Tom Jenkinson created JBJCA-1101:
------------------------------------

             Summary: Downgrade logging of XAException::XA_RB∗ during XAResource::end(TMFAIL)
                 Key: JBJCA-1101
                 URL: https://issues.jboss.org/browse/JBJCA-1101
             Project: IronJacamar
          Issue Type: Feature Request
            Reporter: Tom Jenkinson
            Assignee: Jesper Pedersen


In org.jboss.jca.adapters.jdbc.xa.XAManagedConnection:

{code}
try
         {
            xaResource.end(xid, flags);
         }
         catch (XAException e)
         {
            broadcastConnectionError(e);
            throw e;
         }
{code}

If we pass in TMFAIL to this method, according to XA we would expect an XAException::XA_RB* to be returned so do not log this as a warning. You can see how we handle this in JBTM over here: 

https://github.com/jbosstm/narayana/blob/540c689168fa2fd3db38d4ae1c3487c5d1ff7aff/ArjunaJTA/jta/classes/com/arjuna/ats/internal/jta/resources/arjunacore/XAResourceRecord.java#L317

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list