aspose file tools*
The moose likes Tomcat and the fly likes LifecycleException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "LifecycleException" Watch "LifecycleException" New topic
Author

LifecycleException

Jim Patrick
Ranch Hand

Joined: Dec 27, 2005
Posts: 42

I got this error while launching my project in eclipse..I am pasting the whole error log..can someone tell me where i made the mistake?

Mar 20, 2006 4:11:16 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8888
Starting service Tomcat-Standalone
Apache Tomcat/4.1.31
Catalina.start: LifecycleException: Context startup failed due to previous errors
LifecycleException: Context startup failed due to previous errors
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3578)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)
at org.apache.catalina.startup.Catalina.start(Catalina.java:463)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException: Coyote connector has not been started
LifecycleException: Coyote connector has not been started
at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1296)
at org.apache.catalina.core.StandardService.stop(StandardService.java:499)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2178)
at org.apache.catalina.startup.Catalina.start(Catalina.java:494)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)


Regards,
Jim.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by Jim Patrick:
Context startup failed due to previous errors
LifecycleException: Context startup failed due to previous errors


Is there more to this stack trace than you're posting?

Look for "Root Cause" up higher in the stack.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jim Patrick
Ranch Hand

Joined: Dec 27, 2005
Posts: 42

Hi Ben,

I've pasted the complete stack trace..
and the server stops after the stack trace messages.

Rgds,
Jim.
Andreas Lehmk�hler
Greenhorn

Joined: Mar 21, 2006
Posts: 1
Hi,

I've the same problem. Whenever I try to define a context, I've got the described LifecycleException. If I don't define any context the server starts up fine, but of course in the end I didn't work either (HTTP Status 500 - No Context configured to process this request).

Yes there is no other Stacktrace or additional message which describes the error more specific.

I tried to find the problem by activating some debugging at the startup, but didn't find any switch to do so. Any suggestions??

Edit:
Here are some background informations which might help.
I try to migrate a tomcat 4.0.3 project to version 4.1.31. First of all I'd tried to migrate to 5.0.28. but this doesn't work, so I decided to make it step by step.
The Platform is WindowsXP/Windows2k, Java-1.5.05



TIA,
Andreas
[ March 21, 2006: Message edited by: Andreas Lehmk�hler ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LifecycleException