Details
-
Bug
-
Resolution: Fixed
-
Low
-
2.3, 2.4, 2.5, 2.6.0
-
None
Description
Tangosol coherence registers JDK shutdown hooks on initialisation. These shutdown hooks are problematic when the Coherence libraries have been loaded by a webapp classloader as they depend on classes which have been unloaded by the time the JDK shutdown process starts.
This results in the following log message during shut down:
java.lang.IllegalStateException at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1245) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at com.tangosol.util.LiteSet.iterator(LiteSet.java:160) at com.tangosol.coherence.component.util.SafeCluster.shutdownLocalServices(SafeCluster.CDB:6) at com.tangosol.coherence.component.util.SafeCluster$ShutdownHook.run(SafeCluster.CDB:1) at java.lang.Thread.run(Thread.java:613)
Attachments
Issue Links
- relates to
-
CONFSERVER-9749 Coherence does not allow the disabling of all JDK shutdown hooks
- Closed