Tomcat and SEVERE messages in the output

Most of those are not related to elasticsearch, but of those that are, are you closing the Node / Client you are starting?
On Sunday, April 24, 2011 at 10:01 PM, Enrique Medina Montenegro wrote:

Hi,

I'm trying to pinpoint some issues I have with my current environment, and found a bunch of this messages in the Tomcat console output:

Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor$1@14413f02]) and a value of t
ype [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor$2@478fa6b1]) and a value of t
ype [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.elasticsearch.common.io.stream.CachedStreamOutput$1@2808d32b]) and a value of type [org.elasticsearch.common.thre
ad.ThreadLocals.CleanableValue] (value [org.elasticsearch.common.thread.ThreadLocals$CleanableValue@3a3396c1]) but failed to remove it when the web application was stopped. This is very likely to create
a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.elasticsearch.common.Unicode$2@72ab5b9c]) and a value of type [org.elasticsearch.common.thread.ThreadLocals.Clean
ableValue] (value [org.elasticsearch.common.thread.ThreadLocals$CleanableValue@10ee76c1]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.codehaus.groovy.grails.orm.hibernate.validation.HibernateDomainClassValidator$1@27f687c7]) and a value of type [j
ava.util.ArrayList] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.elasticsearch.common.io.FastByteArrayOutputStream$Cached$1@2a4c2e50]) and a value of type [org.elasticsearch.comm
on.thread.ThreadLocals.CleanableValue] (value [org.elasticsearch.common.thread.ThreadLocals$CleanableValue@17b68196]) but failed to remove it when the web application was stopped. This is very likely to
create a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor$1@14413f02]) and a value of t
ype [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor$2@478fa6b1]) and a value of t
ype [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.elasticsearch.common.io.stream.CachedStreamOutput$1@2808d32b]) and a value of type [org.elasticsearch.common.thre
ad.ThreadLocals.CleanableValue] (value [org.elasticsearch.common.thread.ThreadLocals$CleanableValue@4ef5ab03]) but failed to remove it when the web application was stopped. This is very likely to create
a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@33d3a0bf]) and a value of type [org.springframework.security.context.SecurityC
ontextImpl] (value [org.springframework.security.context.SecurityContextImpl@ffffffff: Null authentication]) but failed to remove it when the web application was stopped. This is very likely to create a
memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.elasticsearch.common.Unicode$2@72ab5b9c]) and a value of type [org.elasticsearch.common.thread.ThreadLocals.Clean
ableValue] (value [org.elasticsearch.common.thread.ThreadLocals$CleanableValue@62ae7a74]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.codehaus.groovy.grails.orm.hibernate.validation.HibernateDomainClassValidator$1@27f687c7]) and a value of type [j
ava.util.ArrayList] (value []) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.elasticsearch.common.io.FastByteArrayOutputStream$Cached$1@2a4c2e50]) and a value of type [org.elasticsearch.comm
on.thread.ThreadLocals.CleanableValue] (value [org.elasticsearch.common.thread.ThreadLocals$CleanableValue@2ce98849]) but failed to remove it when the web application was stopped. This is very likely to
create a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor$1@14413f02]) and a value of t
ype [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.codehaus.groovy.grails.orm.hibernate.support.HibernatePersistenceContextInterceptor$2@478fa6b1]) and a value of t
ype [java.lang.Integer] (value [0]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Apr 24, 2011 8:35:49 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application created a ThreadLocal with key of type [null] (value [org.elasticsearch.common.io.stream.CachedStreamOutput$1@2808d32b]) and a value of type [org.elasticsearch.common.thre
ad.ThreadLocals.CleanableValue] (value [org.elasticsearch.common.thread.ThreadLocals$CleanableValue@17f287a8]) but failed to remove it when the web application was stopped. This is very likely to create
a memory leak.

I know that ES has nothing to be with Tomcat, but indeed my web application which uses ES is deployed in Tomcat, so I was wondering if anyone has a clue on whether I should just ignore these messages or pay them some attention, and how to proceed.

Thanks.