Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-9750

IllegalStateException from JDK hook on shutdown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.8
    • 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

          Activity

            People

              christopher.owen@atlassian.com Christopher Owen [Atlassian]
              christopher.owen@atlassian.com Christopher Owen [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: