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@48f111fa]) 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 ::

<filter>
  <filter-name>CorsFilter</filter-name>
  <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
</filter>
<filter-mapping>
  <filter-name>CorsFilter</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>

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@5a3f4547]) 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@6c1f6177])
and a value of type [char[]] (value [[C@380316]) 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?.
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to