Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2066

Breakage of Transaction Semantics

    XMLWordPrintable

Details

    Description

      One of the changes in this big patch
      http://anoncvs.forge.jboss.com:8080/viewrep/JBoss/jboss-transaction/src/main/org/jboss/tm/TransactionImpl.java?r1=1.64&r2=1.65
      causes the transaction semantics to break.

      i.e. If a transaction is marked rollback when gets to after beforePrepare()
      it just throws an IllegalStateException with no context to the error!!!!

      This is wrong. If the transaction cannot be committed it should be rolled back (and tidied up) with RollbackException thrown.
      See the jca test that is failing in HEAD
      org.jboss.test.jca.test.XATxConnectionUnitTestCase#testBrokenConnectionAndTrackByTx

      Attachments

        Activity

          People

            reverbel Francisco Reverbel (Inactive)
            adrian.brock Adrian Brock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: