Hello.
Installed Geoserver 2.5.1 as a WAR on tomcat 7.0.28-4+deb7u1 (Debian wheezy).
The server runs normally but i notice the following on catalina.out when i stop the server::
Jun 23, 2014 10:54:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/geoserver] appears to have started a thread named [Thread-6] but has failed to stop it. This is very likely to create a memory leak.
Jun 23, 2014 10:54:44 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/geoserver] created a ThreadLocal with key of type [java.lang.InheritableThreadLocal] (value [java.lang.InheritableThreadLocal@anonymised.com]) and a value of type [org.geoserver.ows.Request] (value [WMS 1.1.1 GetMap]) 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.
This cause a real problem to me when i try to add the following to /etc/tomcat/web.xml ::
CorsFilter org.apache.catalina.filters.CorsFilter CorsFilter /*Because the server simply doesn’t show anything to the client and the new thing is that the same errors about “memory leaks”::
Jun 23, 2014 11:04:43 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/geoserver] appears to have started a thread named [Thread-5] but has failed to stop it. This is very likely to create a memory leak.
Jun 23, 2014 11:04:43 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/geoserver] appears to have started a thread named [Thread-6] but has failed to stop it. This is very likely to create a memory leak.
Jun 23, 2014 11:04:43 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/geoserver] created a ThreadLocal with key of type [org.eclipse.emf.ecore.impl.EClassImpl$1] (value [org.eclipse.emf.ecore.impl.EClassImpl$1@anonymised.com]) and a value of type [java.util.HashSet] (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.
Jun 23, 2014 11:04:43 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/geoserver] created a ThreadLocal with key of type [org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil.CharArrayThreadLocal] (value [org.eclipse.emf.ecore.xml.type.util.XMLTypeUtil$CharArrayThreadLocal@anonymised.com]) and a value of type [char] (value [[C@anonymised.com]) 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.
This time i don’t have to wait for stoping the server to see the errors.
So, why is this happening?.