DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10565>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10565 shutdown hook problem: java.lang.NoClassDefFoundError: java/util/Iterator Summary: shutdown hook problem: java.lang.NoClassDefFoundError: java/util/Iterator Product: Tomcat 4 Version: 4.0.1 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have a class that sets up a shutdown hook to close resources when the JVM is shutting down. It works fine when I run the class outside of Tomcat. But when it runs from within Tomcat, I get a "java.lang.NoClassDefFoundError: java/util/Iterator" from the shutdown hook thread. Javadoc for this error states "... The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found." I have no idea why the java.util package would be unavailable. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>