Memory leak when deploying ServiceMix as WAR in Tomcat
------------------------------------------------------
Key: SM-2142
URL: https://issues.apache.org/jira/browse/SM-2142
Project: ServiceMix
Issue Type: Bug
Affects Versions: 3.4
Reporter: Jonathan Anstey
Assignee: Jonathan Anstey
Fix For: 3.5
When deploying
http://repo1.maven.org/maven2/org/apache/servicemix/apache-servicemix-web/3.4.0/apache-servicemix-web-3.4.0.war
to Tomcat v7 you may get the following errors in the log
* The web application [/apache-servicemix-web-3.4.0] appears to have started a
thread named [pool-1-thread-1] but has failed to stop it. This is very likely
to create a memory leak.
* The web application [/apache-servicemix-web-3.4.0] created a ThreadLocal with
key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@5b082d45])
and a value of type [org.apache.derby.iapi.services.context.ContextManager]
(value [org.apache.derby.iapi.services.context.ContextManager@5de82b72]) 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.
These likely lead to memory leaks as so should be fixed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira