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

Committing a transaction already committed in a different thread triggers a rollback exception in JTS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.7.0, 4.6.1.CP01
    • 4.6.1
    • JTS
    • None

    Description

      In JTA, if a thread commits a transaction already committed by another thread, you get no errors (as expected).
      However, JTS throws a RollbackException. While the spec is pretty liberal about throwing exceptions in commit, RollbackException seems wrong.

      To reproduce

      T1: suspend TX, pass to T2
      T2: resume TX, commit
      T1: resume TX, commit

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-jhallida Jonathan Halliday
              jgreene@redhat.com Jason Greene
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: