Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-223

IllegalStateException thrown during Tomcat shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0-beta5
    • 2.0-beta7
    • Core
    • None

    Description

      Apr 25, 2013 3:03:33 PM org.apache.catalina.core.StandardServer await
      INFO: A valid shutdown command was received via the shutdown port. Stopping the Server instance.
      Apr 25, 2013 3:03:33 PM org.apache.coyote.AbstractProtocol pause
      INFO: Pausing ProtocolHandler ["http-nio-8080"]
      Apr 25, 2013 3:03:33 PM org.apache.coyote.AbstractProtocol pause
      INFO: Pausing ProtocolHandler ["ajp-nio-8009"]
      Apr 25, 2013 3:03:33 PM org.apache.catalina.core.StandardService stopInternal
      INFO: Stopping service Catalina
      Apr 25, 2013 3:03:33 PM org.apache.coyote.AbstractProtocol stop
      INFO: Stopping ProtocolHandler ["http-nio-8080"]
      Apr 25, 2013 3:03:33 PM org.apache.coyote.AbstractProtocol stop
      INFO: Stopping ProtocolHandler ["ajp-nio-8009"]
      Apr 25, 2013 3:03:33 PM org.apache.coyote.AbstractProtocol destroy
      INFO: Destroying ProtocolHandler ["http-nio-8080"]
      Apr 25, 2013 3:03:33 PM org.apache.coyote.AbstractProtocol destroy
      INFO: Destroying ProtocolHandler ["ajp-nio-8009"]
      Apr 25, 2013 3:03:33 PM org.apache.catalina.loader.WebappClassLoader loadClass
      INFO: Illegal access: this web application instance has been stopped already.  Could not load org.apache.logging.log4j.core.config.NullConfiguration.  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:1351)
      	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1310)
      	at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:171)
      	at org.apache.logging.log4j.core.LoggerContext$ShutdownThread.run(LoggerContext.java:389)
      
      Exception in thread "Thread-18" java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/config/NullConfiguration
      	at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:171)
      	at org.apache.logging.log4j.core.LoggerContext$ShutdownThread.run(LoggerContext.java:389)
      Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.core.config.NullConfiguration
      	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1465)
      	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1310)
      	... 2 more

      Attachments

        1. log4j-223.war
          2.64 MB
          Nick Williams

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rgoers Ralph Goers
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: