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)
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.
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)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.