[jboss-dev-forums] [Design of EJB 3.0] - Re: EJB3 Classloader Leak (EJBTHREE-1442)

bstansberry@jboss.com do-not-reply at jboss.com
Wed Sep 10 23:15:47 EDT 2008


"ALRubinger" wrote : Which brings up another question:
  | 
  | Why would one of the Proxies still be hanging around?

It's not the proxy hanging around, it's the proxy's class.  A classloader maintains a ref to all classes it has defined; the ejb3-connectors-jboss-beans.xml classloader defined that proxy class. But the business interface came from the deployment CL, since classes loaded by the deployment CL are visible to the ejb3-connectors-jboss-beans.xml classloader. The proxy's class has a ref to the business interface class.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175746#4175746

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175746



More information about the jboss-dev-forums mailing list