[jira] [Comment Edited] (LOG4J2-223) IlliegalStateException thrown during Tomcat shutdown
[ https://issues.apache.org/jira/browse/LOG4J2-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13661262#comment-13661262 ] Nick Williams edited comment on LOG4J2-223 at 5/18/13 3:59 AM: --- In the latest 2.0-beta7-SNAPSHOT, this is still not fixed: {noformat}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:201) at org.apache.logging.log4j.core.LoggerContext$ShutdownThread.run(LoggerContext.java:427) Exception in thread Thread-19 java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/config/NullConfiguration at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:201) at org.apache.logging.log4j.core.LoggerContext$ShutdownThread.run(LoggerContext.java:427) 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{noformat} I'd really like to see this issue fixed before beta7 is released. Are you not able to replicate it in my sample application? I'd try to help with this, but now that Spring 4.0.0.M1 has been released (today), I have to get back to working on my book now. I'm about four weeks behind on chapters. Ooops. was (Author: beamerblvd): In the latest 2.0-beta7-SNAPSHOT, this is still not fixed: {noformat}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:201) at org.apache.logging.log4j.core.LoggerContext$ShutdownThread.run(LoggerContext.java:427) Exception in thread Thread-19 java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/config/NullConfiguration at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:201) at org.apache.logging.log4j.core.LoggerContext$ShutdownThread.run(LoggerContext.java:427) 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{noformat} IlliegalStateException thrown during Tomcat shutdown Key: LOG4J2-223 URL: https://issues.apache.org/jira/browse/LOG4J2-223 Project: Log4j 2 Issue Type: Bug Components: Core Affects Versions: 2.0-beta5 Reporter: Ralph Goers Priority: Critical Fix For: 2.0-beta7 Attachments: logging-integration-1.0.0.SNAPSHOT.war, Logging-Integration.zip 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
[jira] [Comment Edited] (LOG4J2-223) IlliegalStateException thrown during Tomcat shutdown
[ https://issues.apache.org/jira/browse/LOG4J2-223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13661262#comment-13661262 ] Nick Williams edited comment on LOG4J2-223 at 5/18/13 4:01 AM: --- In the latest 2.0-beta7-SNAPSHOT, this is still not fixed: {noformat}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:201) at org.apache.logging.log4j.core.LoggerContext$ShutdownThread.run(LoggerContext.java:427) Exception in thread Thread-19 java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/config/NullConfiguration at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:201) at org.apache.logging.log4j.core.LoggerContext$ShutdownThread.run(LoggerContext.java:427) 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{noformat} I'd really like to see this issue fixed before beta7 is released. Are you able to replicate it in my sample application? Or have you still not been able to look at it? Is there anyone else that can look at it? I'd try to help with this, but now that Spring 4.0.0.M1 has been released (today), I have to get back to working on my book now. I'm about four weeks behind on chapters. Ooops. was (Author: beamerblvd): In the latest 2.0-beta7-SNAPSHOT, this is still not fixed: {noformat}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:201) at org.apache.logging.log4j.core.LoggerContext$ShutdownThread.run(LoggerContext.java:427) Exception in thread Thread-19 java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/config/NullConfiguration at org.apache.logging.log4j.core.LoggerContext.stop(LoggerContext.java:201) at org.apache.logging.log4j.core.LoggerContext$ShutdownThread.run(LoggerContext.java:427) 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{noformat} I'd really like to see this issue fixed before beta7 is released. Are you not able to replicate it in my sample application? I'd try to help with this, but now that Spring 4.0.0.M1 has been released (today), I have to get back to working on my book now. I'm about four weeks behind on chapters. Ooops. IlliegalStateException thrown during Tomcat shutdown Key: LOG4J2-223 URL: https://issues.apache.org/jira/browse/LOG4J2-223 Project: Log4j 2 Issue Type: Bug Components: Core Affects Versions: 2.0-beta5 Reporter: Ralph Goers Priority: Critical Fix For: 2.0-beta7 Attachments: logging-integration-1.0.0.SNAPSHOT.war, Logging-Integration.zip 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