Skip to content

Exception in SpringBoot Application at shutdown with dashboard running #73

@robbinspg

Description

@robbinspg

2018-02-09 14:43:35.388 INFO 19205 --- [pool-2-thread-1] o.a.c.loader.WebappClassLoaderBase : Illegal access: this web application instance has been stopped already. Could not load [META-INF/services/javax.json.spi.JsonProvider]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.

java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [META-INF/services/javax.json.spi.JsonProvider]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1305) [tomcat-embed-core-8.5.15.jar:8.5.15]
at org.apache.catalina.loader.WebappClassLoaderBase.findResources(WebappClassLoaderBase.java:933) [tomcat-embed-core-8.5.15.jar:8.5.15]
at java.lang.ClassLoader.getResources(ClassLoader.java:1142) [na:1.8.0_144]
at java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:348) [na:1.8.0_144]
at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:393) [na:1.8.0_144]
at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:474) [na:1.8.0_144]
at javax.json.spi.JsonProvider.provider(JsonProvider.java:89) [javax.json-1.0.4.jar:1.0.4]
at javax.json.Json.createReader(Json.java:208) [javax.json-1.0.4.jar:1.0.4]
at com.ibm.javametrics.web.DataHandler.processData(DataHandler.java:93) [javametrics-spring-1.1.0.jar:na]
at com.ibm.javametrics.client.ApiDataListener.receive(ApiDataListener.java:29) [javametrics-agent-1.1.0.jar:1.1.0]
at com.ibm.javametrics.impl.JavametricsImpl.receiveData(JavametricsImpl.java:69) [javametrics-agent-1.1.0.jar:1.1.0]
at com.ibm.javametrics.agent.JavaAgent.lambda$emit$1(JavaAgent.java:96) [javametrics-agent-1.1.0.jar:1.1.0]
at java.lang.Iterable.forEach(Iterable.java:75) ~[na:1.8.0_144]
at com.ibm.javametrics.agent.JavaAgent.emit(JavaAgent.java:95) [javametrics-agent-1.1.0.jar:1.1.0]
at com.ibm.javametrics.agent.JavaAgent.drainBatched(JavaAgent.java:89) [javametrics-agent-1.1.0.jar:1.1.0]
at com.ibm.javametrics.agent.JavaAgent.lambda$drain$0(JavaAgent.java:67) [javametrics-agent-1.1.0.jar:1.1.0]
at java.util.HashMap.forEach(HashMap.java:1288) ~[na:1.8.0_144]
at com.ibm.javametrics.agent.JavaAgent.drain(JavaAgent.java:66) [javametrics-agent-1.1.0.jar:1.1.0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_144]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[na:1.8.0_144]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_144]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[na:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_144]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_144]

javametrics: Exception in listener: java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [META-INF/services/javax.json.spi.JsonProvider]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions