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

add failure does not cause rollback/end

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.3.SP8, 4.2.3.CP02, 4.4.CR1
    • 4.2.3.SP7, 4.2.3.CP01, 4.3.0.GA
    • JTA, JTS
    • None

      BasicAction.add always assumes that a failure to add means the parameter (the participant) is tidied up by the caller if necessary. enlistResource doesn't do that, when it should: start has been called on the participant by the time BasicAction.add is called, which means that a failure at this stage needs end to be called. The transaction is going to be rolled back anyway, so nothing else needs to be done.

            rhn-engineering-jhallida Jonathan Halliday
            nmcl2001 Mark Little
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: