[jboss-jira] [JBoss JIRA] (JBJCA-1101) XAException::XA_RB∗ isn't fatal
Jesper Pedersen (JIRA)
jira-events at lists.jboss.org
Tue Oct 22 23:28:02 EDT 2013
[ https://issues.jboss.org/browse/JBJCA-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesper Pedersen updated JBJCA-1101:
-----------------------------------
Summary: XAException::XA_RB∗ isn't fatal (was: Downgrade logging of XAException::XA_RB∗ during XAResource::end(TMFAIL))
Description:
In org.jboss.jca.adapters.jdbc.xa.XAManagedConnection:
{code}
try
{
xaResource.end(xid, flags);
}
catch (XAException e)
{
broadcastConnectionError(e);
throw e;
}
{code}
should not consider XA_RB* error codes as fatal. Same goes for .start().
was:
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
> XAException::XA_RB∗ isn't fatal
> -------------------------------
>
> 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
> Priority: Critical
> 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}
> should not consider XA_RB* error codes as fatal. Same goes for .start().
--
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