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

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


     [ https://issues.jboss.org/browse/JBJCA-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesper Pedersen updated JBJCA-1101:
-----------------------------------

           Issue Type: Bug  (was: Feature Request)
        Fix Version/s: 1.0.22.Final
                       1.1.1.Final
    Affects Version/s: 1.1.0.Final
                       1.0.21.Final
          Component/s: JDBC

    
> 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: Bug
>          Components: JDBC
>    Affects Versions: 1.0.21.Final, 1.1.0.Final
>            Reporter: Tom Jenkinson
>            Assignee: Jesper Pedersen
>             Fix For: 1.0.22.Final, 1.1.1.Final
>
>
> 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