You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2012/09/04 18:34:07 UTC
[jira] [Updated] (QPID-4271) Avoid ThreadLocal leakage etc at
shutdown so that Broker behaves better when embedded within Containers
[ https://issues.apache.org/jira/browse/QPID-4271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Wall updated QPID-4271:
-----------------------------
Status: Ready To Review (was: In Progress)
> Avoid ThreadLocal leakage etc at shutdown so that Broker behaves better when embedded within Containers
> -------------------------------------------------------------------------------------------------------
>
> Key: QPID-4271
> URL: https://issues.apache.org/jira/browse/QPID-4271
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Reporter: Keith Wall
> Assignee: Keith Wall
> Fix For: 0.19
>
>
> Some customers are embedding the Java Broker within application containers such as Tomcat.
> Successive undeploy/redeploy of the component shows warnings highlighting potential ThreadLocal leaks on Container owned threads. For instance, Tomcat reports:
> {noformat}
> SEVERE: The web application [/qpid-0.19] created a ThreadLocal with key of type [org.apache.qpid.server.logging.actors.CurrentActor$1] (value [org.apache.qpid.server.logging.actors.CurrentActor$1@661eef2c]) and a value of type [java.util.Stack] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
> SEVERE: The web application [/qpid-0.19] created a ThreadLocal with key of type [org.apache.qpid.framing.AMQShortString$1] (value [org.apache.qpid.framing.AMQShortString$1@7382ab3e]) and a value of type [org.apache.qpid.framing.AMQShortString$1$1] (value [{queue=queue, ping=ping, test-ping=test-ping, test-queue=test-queue}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
> Aug 28, 2012 4:05:16 PM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org