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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 4.3.0.GA
    • Fix Version/s: None
    • Component/s: JTA, JTS
    • Labels:
      None

      Description

      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.)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  marklittle Mark Little
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: