[jboss-jira] [JBoss JIRA] Updated: (JBAS-4191) ProxyFactory leaks classloader if SFSB is used

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Mon Mar 12 18:33:46 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBAS-4191?page=all ]

Brian Stansberry updated JBAS-4191:
-----------------------------------

    Attachment:     (was: JBAS-4191.html)

> ProxyFactory leaks classloader if SFSB is used
> ----------------------------------------------
>
>                 Key: JBAS-4191
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4191
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB2
>    Affects Versions: JBossAS-4.2.0.CR1, JBossAS-5.0.0.Beta1, JBossAS-4.0.5.GA, JBossAS-3.2.8.SP1
>            Reporter: Brian Stansberry
>         Assigned To: Brian Stansberry
>             Fix For: JBossAS-5.0.0.Beta2, JBossAS-4.2.0.GA, JBossAS-4.0.5.SP1 , JBossAS-3.2.8.SP2
>
>
> org.jboss.ejb.ProxyFactory holds a ref to the constructor used to instantiate SFSBs after it is destroyed.  This leaks the the application's classloader to the Container instance's proxyFactoryTL ThreadLocal.
> Immediate solution is to clear the constructor ref in ProxyFactory.destroy().  Later we need to see why ProxyFactoryFinderInterceptor isn't making the call that clears the ThreadLocal on the request out-path and add that call if there's no good reason not to.

-- 
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