[jbossts-issues] [JBoss JIRA] (JBTM-1270) Setting transaction timeout on UserTransaction leaks to the thread and doesn't get cleared

jaikiran pai (JIRA) jira-events at lists.jboss.org
Wed Sep 26 03:17:34 EDT 2012


jaikiran pai created JBTM-1270:
----------------------------------

             Summary: Setting transaction timeout on UserTransaction leaks to the thread and doesn't get cleared
                 Key: JBTM-1270
                 URL: https://issues.jboss.org/browse/JBTM-1270
             Project: JBoss Transaction Manager
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.16.4
            Reporter: jaikiran pai
            Assignee: Tom Jenkinson


A user has reported (with an example) that setting a transaction timeout on the UserTransaction will leak the timeout onto the thread and subsequent transaction creation on that thread uses the leaked value instead of new values. The com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction is using a ThreadLocal (_timeouts) for  tracking timeouts but it is never cleared/reset.

More details in the referenced forum thread.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list