Problem running ElasticSearch (Spring Data)


(apprentice321) #1

Hi,

I'm getting the following stacktrace on running ElasticSearch (Spring Data)
Application. Anyone know the cause of this error?

INFO: Illegal access: this web application instance has been stopped
already. Could not load
org.elasticsearch.cluster.routing.RoutingService$1. The eventual following
stack trace is caused by an error thrown for debugging purposes as well as
to attempt to terminate the thread which caused the illegal access, and has
no functional impact.
java.lang.IllegalStateException
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1599)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
at
org.elasticsearch.cluster.routing.RoutingService.reroute(RoutingService.java:142)
at
org.elasticsearch.cluster.routing.RoutingService.access$200(RoutingService.java:51)
at
org.elasticsearch.cluster.routing.RoutingService$RoutingTableUpdater.run(RoutingService.java:163)
at
org.elasticsearch.threadpool.ThreadPool$LoggingRunnable.run(ThreadPool.java:530)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Costin Leau) #2

From the error message it looks like your webapp has stopped and ES, probably while shutting down is trying to log
something which leads to class loading which causes the message and exception by Tomcat (which prevent the loading from
happening).
You should probably find out what causes the webapp to close in the first place.

On 19/09/2013 6:00 PM, apprentice321@googlemail.com wrote:

Hi,

I'm getting the following stacktrace on running ElasticSearch (Spring Data) Application. Anyone know the cause of this
error?

INFO: Illegal access: this web application instance has been stopped already. Could not load
org.elasticsearch.cluster.routing.RoutingService$1. The eventual following stack trace is caused by an error thrown for
debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional
impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1599)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1558)
at org.elasticsearch.cluster.routing.RoutingService.reroute(RoutingService.java:142)
at org.elasticsearch.cluster.routing.RoutingService.access$200(RoutingService.java:51)
at org.elasticsearch.cluster.routing.RoutingService$RoutingTableUpdater.run(RoutingService.java:163)
at org.elasticsearch.threadpool.ThreadPool$LoggingRunnable.run(ThreadPool.java:530)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)

--
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
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Costin

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3