[jboss-jira] [JBoss JIRA] (JBAS-9507) ThreadLocal variables are not cleared at the end of execution of the thread.
Mohamad ABBAS (JIRA)
jira-events at lists.jboss.org
Tue Jul 24 10:26:06 EDT 2012
[ https://issues.jboss.org/browse/JBAS-9507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mohamad ABBAS updated JBAS-9507:
--------------------------------
Description:
I am deploying a web application under *Jboss AS 5.1.0.GA* and in my application, I'm using some *java.lang.Threadlocal* and *java.lang.InheritableThreadLocal* variables. *Threadlocal* variables should be cleared at the end of execution of the thread. In my case ,since jboss is using a thread pool, the *Threadlocal* variables are not cleared.
In [https://issues.jboss.org/browse/JBAS-8389], i saw that this issue has been resolved in *JBoss AS 4.2.3.GA*, i am using *JBoss AS 5.1.0.GA* and i still have the problem.
was:I am deploying a web application under Jboss AS 5.1.0.GA and in my application, I'm using some "java.lang.Threadlocal" and "java.lang.InheritableThreadLocal" variables. Threadlocal variables should be cleared at the end of execution of the thread. In my case , since jboss is using a thread pool, the threadlocal variables are not cleared.
> ThreadLocal variables are not cleared at the end of execution of the thread.
> ----------------------------------------------------------------------------
>
> Key: JBAS-9507
> URL: https://issues.jboss.org/browse/JBAS-9507
> Project: Application Server 3 4 5 and 6
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Other
> Affects Versions: JBossAS-5.1.0.GA
> Environment: windows 7
> Reporter: Mohamad ABBAS
> Labels: application-server, j2ee, java, jboss, threadlocal
>
> I am deploying a web application under *Jboss AS 5.1.0.GA* and in my application, I'm using some *java.lang.Threadlocal* and *java.lang.InheritableThreadLocal* variables. *Threadlocal* variables should be cleared at the end of execution of the thread. In my case ,since jboss is using a thread pool, the *Threadlocal* variables are not cleared.
> In [https://issues.jboss.org/browse/JBAS-8389], i saw that this issue has been resolved in *JBoss AS 4.2.3.GA*, i am using *JBoss AS 5.1.0.GA* and i still have the problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list