[jboss-jira] [JBoss JIRA] Created: (JBAS-5081) New transaction manager does not implement TransactionTimeoutConfiguration properly

Adrian Brock (JIRA) jira-events at lists.jboss.org
Fri Dec 14 08:58:43 EST 2007


New transaction manager does not implement TransactionTimeoutConfiguration properly
-----------------------------------------------------------------------------------

                 Key: JBAS-5081
                 URL: http://jira.jboss.com/jira/browse/JBAS-5081
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Transaction Manager
    Affects Versions: JBossAS-4.2.2.GA
            Reporter: Adrian Brock
         Assigned To: Jonathan Halliday
             Fix For:  JBossAS-5.0.0.Beta3, JBossAS-4.2.3.GA


The new transaction manager in 4.2.x does not implement the TransactionTimeoutConfiguration properly

http://viewvc.jboss.org/cgi-bin/viewvc.cgi/labs/labs/jbosstm/trunk/atsintegration/classes/com/arjuna/ats/jbossatx/jta/TransactionManagerDelegate.java?revision=15380&view=markup

getTimeLeftBeforeTransactionTimeout(true)
should throw an error if there is a transaction associated with the thread and it is not active, preparing, etc.
Instead it only throws an error if the transaction is marked rollback only.

In particular, a transaction at status ROLLED BACK (because of transaction timeout) should throw an error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list