[jboss-jira] [JBoss JIRA] (AS7-5641) 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 09:31:03 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721926#comment-12721926 ] 

jaikiran pai commented on AS7-5641:
-----------------------------------

{quote}
So it sounds like we need to make sure we clear this as part of the EE setup actions. 
{quote}
IMO, this should be done one level higher i.e. even outside of EE since non-EE applications deployed on the server who get access to UserTransaction (however which way they do so) could set the tx timeout and that might affect other EE/non-EE applications since that timeout will leak on the thread. 
                
> Setting transaction timeout on UserTransaction leaks to the thread and doesn't get cleared
> ------------------------------------------------------------------------------------------
>
>                 Key: AS7-5641
>                 URL: https://issues.jboss.org/browse/AS7-5641
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EE, Transactions
>    Affects Versions: 7.1.3.Final (EAP)
>            Reporter: jaikiran pai
>            Assignee: David Lloyd
>
> 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. 
> 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 jboss-jira mailing list