You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/04/08 18:07:31 UTC

[Bug 56369] New: BaseModelMBean does not clean-up attributeBroadcaster in removeNotificationListener()

https://issues.apache.org/bugzilla/show_bug.cgi?id=56369

            Bug ID: 56369
           Summary: BaseModelMBean does not clean-up attributeBroadcaster
                    in removeNotificationListener()
           Product: Tomcat 7
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: lorban@bitronix.be

BaseModelMBean.addNotificationListener() registers the listener on
attributeBroadcaster, while BaseModelMBean.removeNotificationListener() fails
to clean that up.

The end result is a memory leak that is very apparent when you embed directly
in your WAR file jmxremote_optional.jar as the
com.sun.jmx.remote.opt.internal.ArrayNotificationBuffer$BufferListener'
classloader cannot be garbage collected which end up depleting the perm gen
merely after a few redeploys.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56369] BaseModelMBean does not clean-up attributeBroadcaster in removeNotificationListener()

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56369

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
This has been fixed in 8.0.x for 8.0.6 onwards.

This has been fixed in 7.0.x for 7.0.54 onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56369] BaseModelMBean does not clean-up attributeBroadcaster in removeNotificationListener()

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56369

--- Comment #2 from Konstantin Kolinko <kn...@gmail.com> ---
I re-filed this at Apache Commons Modeler project as
https://issues.apache.org/jira/browse/MODELER-31

Proposed for Tomcat 6.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56369] BaseModelMBean does not clean-up attributeBroadcaster in removeNotificationListener()

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56369

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
The fix has been applied to 6.0.x and will be included in 6.0.40 onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org