Community
Participate
Working Groups
MBeans that gets registered using the context param "org.eclipse.jetty.server.context.ManagedAttributes" in web.xml are never unregistered on context stop, causing memory leaks in case of redeployments of the context.
Note that this is only happening on redeploy. If the server is stopped, then MBeanContainer is stopped and it will unregister everything, but if a context is redeployed, then some of its mbeans will not be unregistered.
Greg, I believe this is fixed, but since you worked on the final fix, can you confirm ?
fixed by using Weak hash maps.