I'm using Tomcat 4.0.3.
And that is the latest release build.
I have written a small web application and that is also giving same kind of exception.
I tried to the zip file, but list rejects that. The output of tomcat is as follows:
Starting service Tomcat-Standalone
Apache Tomcat/4.0.3
timeInterval:10000
In run
WebappClassLoader: Lifecycle error : CL stopped
In ex ...1
java.lang.NoClassDefFoundError: TestClass
at MessageProcessTask.run(MessageProcessTask.java:13)
at java.util.TimerThread.mainLoop(Timer.java:435)
at java.util.TimerThread.run(Timer.java:385)
If you can find any solution, please let me know.
Thanks,
Sudarson
-----Original Message-----
From: Christopher K. St. John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 10:12 PM
To: [EMAIL PROTECTED]
Subject: Re: start up class in tomcat
Sudarson Roy Pratihar wrote:
>
> The error is- WebappClassLoader: Lifecycle error : CL stopped.
> The class is very much in the classpath and if I use servlet
> init instead of context listener, it's working fine.
>
> Do you have any idea ?
>
There were bugs in some versions of Tomcat 4.0 having to
do with the ClassLoader for listeners. If you're not using
the absolute most recent version, then upgrade to 4.0.3
(or 4.0.4 if it's out). Which version are you using?
Can you write a very small webapp that reproduces the
problem? You know, a "hello world" servlet plus a single
listener in web.xml? That would make it easier to debug.
Other options: try out your webapp on another servlet
container and see what happens. That would help narrow
down the possibilities.
--
Christopher St. John [EMAIL PROTECTED]
DistribuTopia http://www.distributopia.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html