Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-361

xa_start failures should still cause addition of new RM to participant list

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 4.3.0.GA
    • JTA, JTS
    • None

      For a new RM we call start and then add it to the list of participants. OK if there are no errors, but xa_start could throw an exception. Although we catch that exception and rollback the tx, the resource in question has not been added to the list of participants so doesn't get the resultant xa_end/xa_rollback invocation. The addition of the entry to the participant list should be in a finally block within TransactionImple. (Check JTS too.)

              Unassigned Unassigned
              nmcl2001 Mark Little
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: