Hello everybody,
I am using elasticsearch embedded in my web application. I start the node 
via ContextListener method contextInitialized and I call node.stop() in 
contextDestroyed method of my ServletContextListener implementation.

However, the following message appear in the logs:


Apr 07, 2014 5:39:38 PM org.apache.catalina.loader.WebappClassLoader 
> checkThreadLocalMapForLeaks
> java.lang.IllegalArgumentException: Illegal shift value, must be 0..63
>     at 
> org.apache.lucene.util.NumericUtils.longToPrefixCoded(NumericUtils.java:114)
>     at 
> org.apache.lucene.analysis.NumericTokenStream$NumericTermAttributeImpl.reflectWith(NumericTokenStream.java:199)
>     at 
> org.apache.lucene.util.AttributeSource.reflectAsString(AttributeSource.java:430)
>     at 
> org.apache.catalina.loader.WebappClassLoader.checkThreadLocalMapForLeaks(WebappClassLoader.java:2521)
>     at 
> org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1996)
>     at 
> org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:662)
>     at 
> org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5616)
>     at 
> org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
>     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>     at java.lang.Thread.run(Unknown Source)
>
>
I am using elasticsearch version 1.0.1.

Do you have any idea how I can shutdown ES in a friendly way?
Thank you very much

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/2fa44b2d-9da6-4e77-89ac-6e03682240d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to