I am getting below log in my old application , i tried to search with .setName as we set thread name using thread.setName method but not able to see it. i doubt it is started by application and i am searching in all .java files.
Jan 30, 2014 1:00:29 AM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads SEVERE: The web application [/MyWebApp] appears
to have started a thread named [Control] but has failed to stop it.
This is very likely to create a mem ory leak. Jan 30, 2014 1:00:29 AM
org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/MyWebApp] appears to have started a
thread named [MultiThreadedHttpConnectionManager cleanup] but has
failed to stop it.
Not able to understand where these threads( Control and MultiThreadedHttpConnectionManager ) are getting started so that i can modify code to stop these threads.
Edit: My Colleague answered one part of it , MultiThreadedHttpConnectionManager was BUG in Axis2
When i run tomcat in debug mode i see some daemon threads and two other threads (main,Control). Command line arguments for Control thread are showing "org.apache.catalina.startup.Bootstrap start". Looks like tomcat is starting this thread, but if this is the case why tomcat will give error log for this?
I got my answer and 2 simple solutions to this problem