Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.IllegalStateException when trying to shutdown tomcat

763983Mar 31 2010 — edited Apr 1 2010
Hello,

We are using Coherence within tomcat. Some servlets needs to access Coherence NamedCache. Everything is fine except when trying to shutdown Tocmat we got the following exception:

Mar 31, 2010 3:18:08 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load com.tangosol.coherence.component.application.DefaultApplication. 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:1273)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at com.tangosol.coherence.component.Application.get_Instance(Application.CDB:80)
at com.tangosol.coherence.Component._trace(Component.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.onException(ClusterService.CDB:15)
at com.tangosol.coherence.component.net.Cluster$ClusterService.onException(Cluster.CDB:7)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:55)
at java.lang.Thread.run(Thread.java:619)

Looks like Coherence trying to load the DefaultApplication after the web app is shutdown. Just wondering do we need to call some Coherence api for the servlet to exit cluster before shutting down tomcat?

thank you very much,
-Fujian
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 29 2010
Added on Mar 31 2010
2 comments
3,049 views