[ 
https://issues.apache.org/jira/browse/SHINDIG-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921284#action_12921284
 ] 

Paul Lindner commented on SHINDIG-1448:
---------------------------------------

ugh..  this is something we may want to refer to the guice folks:

http://code.google.com/p/google-guice/source/browse/trunk/extensions/jmx/src/com/google/inject/tools/jmx/Manager.java

Maybe we skip this jmx bindings entirely?  It's of low value..


> memory leak from failure to deregister mbean in GuiceServletContextListener
> ---------------------------------------------------------------------------
>
>                 Key: SHINDIG-1448
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1448
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 1.1-BETA5, 2.0.0
>         Environment: all platforms, equinox/osgi container
>            Reporter: Jonathan Brown
>            Priority: Minor
>
> The following call registers an mbean under the covers around line 76 of 
> org.apache.shindig.common.servlet.GuiceServletContextListener:
> Manager.manage("ShindigGuiceContext", injector)
> The mbean should be unregistered in the 
> GuiceServletContextListener.contextDestroyed() implementation or the 
> container can't free the WebAppClassloader.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to