Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-4191

ProxyFactory leaks classloader if SFSB is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • JBossAS-3.2.8.SP1, JBossAS-4.0.5.GA, JBossAS-5.0.0.Beta1, JBossAS-4.2.0.CR1
    • EJB2
    • None

    Description

      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.

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: