Community
Participate
Working Groups
Ortwin Glück to jetty-dev Hi, I have found that: WebAppContext app = new WebAppContext(); app.setContextPath(context); app.setWar(warFile); app.setClassLoader(new MyWebAppClassLoader(cl, app)); jetty.getHandler().addHandler(app); app.stop(); jetty.getHandler().removeHandler(app); app.destroy(); doesn't allow the webapp to be GCed if JMX is enabled. The reason is that the MBeanContainer still has Container.Relationship objects to the ServletHolders. Ortwin
fixed in r3411 MBeanContainer now uses entirely weak references. Michael can you double check this one and see that redeploying a webapplication does allow the servlets to be collected.
I think Target Milestone should be 7.4.3.