DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=31549>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31549 Log message does not tell which class it tried to load when loading fails because webapp is stopped Summary: Log message does not tell which class it tried to load when loading fails because webapp is stopped Product: Tomcat 5 Version: 5.0.28 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When the WebappClassLoader tries to load a class and the webapp it belongs to is already shut down, it outputs a diffuse warning that it could not a class, without mentioning the name of the class. I would suggest to change the following: *in org/apache/catalina/loader/WebappClassLoader.java: * change in loadClass(String name, boolean resolve): if (!started) { log.info(sm.getString("webappClassLoader.stopped")); throw new ThreadDeath(); } to if (!started) { log.info(sm.getString("webappClassLoader.stopped"), name); throw new ThreadDeath(); } * change in findResourceInternal(String name, String path): if (!started) { log.info(sm.getString("webappClassLoader.stopped")); return null; } to if (!started) { log.info(sm.getString("webappClassLoader.stopped"), name); return null; } *in org/apache/catalina/loader/WebappClassLoader.java: * change webappClassLoader.stopped=Illegal access: this web application instance has been stopped already (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) to webappClassLoader.stopped=Illegal access: this web application instance has been stopped already. Could not load {0}. 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]