[jbossts-issues] [JBoss JIRA] Work logged: (JBTM-256) TransactionImple::endSuspendedRMs may dive out before ending all XAResources
Andrew Dinn (JIRA)
jira-events at lists.jboss.org
Wed Jul 11 12:13:38 EDT 2007
[ http://jira.jboss.com/jira/browse/JBTM-256?page=worklog#action_12368607 ]
Andrew Dinn logged work on JBTM-256:
------------------------------------
Time Spent: 30 minutes
Remaining Estimate: 0 minutes
Time Spent: 30 minutes
Modified TransactionImple::endSuspendedRMs to ensure all suspended resources are sent and end() even if one barfs.
This still needs testing in an appropriately convoluted test case (i.e. multiple suspended resources, one of which takes exception to being ended).
> TransactionImple::endSuspendedRMs may dive out before ending all XAResources
> ----------------------------------------------------------------------------
>
> Key: JBTM-256
> URL: http://jira.jboss.com/jira/browse/JBTM-256
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JTA Implementation, JTS Implementation
> Affects Versions: 4.2.3.SP5
> Reporter: Andrew Dinn
> Assigned To: Andrew Dinn
> Fix For: 4.4
>
> Time Spent: 30 minutes
> Remaining Estimate: 0 minutes
>
> TransactionImple::endSuspendedRMs loops through all enlisted XAResources sending them an end() as a precursor to commit or rollback. It is supposed to notify all resources even if one (or more) of them throws an exception, returning true iff they all complete. As currently coded it returns failure at the first exception, potentially omitting some of the end() calls.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossts-issues
mailing list