[jboss-jira] [JBoss JIRA] Created: (JBTM-208) JCA Inflow fails with one phase commit
Kevin Conner (JIRA)
jira-events at lists.jboss.org
Wed Mar 28 04:50:00 EDT 2007
JCA Inflow fails with one phase commit
--------------------------------------
Key: JBTM-208
URL: http://jira.jboss.com/jira/browse/JBTM-208
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.2
Reporter: Kevin Conner
Assigned To: Kevin Conner
Fix For: 4.2.3
The TxInflowUnitTestCase is currently failing because of a bug in the subordinate transaction implementation.
The test creates an inflow through the JCA WorkManager, enlists a single resource and then executes a one phase commit via the XATerminator. The logic in the one phase commit code is, unfortunately, incorrect.
The code attempts to invoke end on all suspended resources and, if this succeeds, marks the transaction for rollback. The result is that all successful, subordinate, one phase transactions are rolled back.
The logic should be reversed so that a failure marks the transaction for rollback.
--
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 jboss-jira
mailing list