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=5484>.
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=5484

ClassNotFoundException on shutdownhook thread 

           Summary: ClassNotFoundException on shutdownhook thread
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In my webapp i used the ShutdownHook thread as on java.lang.RunTime , it worked 
well on Tomcat 3.2.3 but failed on Catalina 4.0.1 , the failur was as to 
ClassNotFoundException thrown from the ShutdownHook thread.The reason for that 
is that the WebAppClassLoader was stop() and there for fired "Lifecycle error : 
CL stopped" + ClassNotFoundException .
It seems that the stop() was called earlier then expected.
Invoking the start() Method(by reflection) again on the Thread ClassLoader 
solved the problem.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to