[
https://issues.apache.org/jira/browse/SHINDIG-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921359#action_12921359
]
Jonathan Brown commented on SHINDIG-1448:
-----------------------------------------
I found a bug filed against Guice which is the same problem:
http://code.google.com/p/google-guice/issues/detail?id=344&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Extension
The reporter was complaining about a InstanceAlreadyExistsException error when
redeploying.
I'll add some additional context to that bug report.
> 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.