wood burning stoves*
The moose likes Tomcat and the fly likes Error with Tomcat 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error with Tomcat 6" Watch "Error with Tomcat 6" New topic

Error with Tomcat 6

Sridhar Venkataraman
Ranch Hand

Joined: May 22, 2006
Posts: 76
I run Windows Vista Home Premium.

I recently installed Apache Tomcat 6.0.14 and it seems to have problems running even the most basic JSP applications (I'm talking "Hello World" here). It runs Servlets perfectly, but cannot run any JSP apps.

It says there is an "internal server error" with a HTTP 500 status.

The logs reveal this:

org.apache.catalina.core.StandardContextValve invoke
SEVERE: Exception sending request destroyed lifecycle event to listener instance of class com.sun.faces.config.ConfigureListener
at com.sun.faces.application.WebappLifecycleListener.syncSessionScopedBeans(WebappLifecycleListener.java:312)
at com.sun.faces.application.WebappLifecycleListener.requestDestroyed(WebappLifecycleListener.java:87)
at com.sun.faces.config.ConfigureListener.requestDestroyed(ConfigureListener.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)

The stack trace is exactly the same whenever I try to run a JSP app. The funny thing is, the apps ran fine when I first tried to run them after installing Tomcat. The trouble (I think) is when I restart the service after deploying some new stuff onto the webapps folder. I know this because I reinstalled Tomcat and the apps started working again, only to give me the aforementioned error after a while.

What must I do to resolve this? I don't want to keep reinstalling Tomcat every time I want to run a JSP app! Any help is greatly appreciated.

P.S. I turned user account control off and ticked both "service" and "native" while installing Tomcat through the Windows installer, if that's of any consequence.
[ December 24, 2007: Message edited by: Bear Bibeault ]
It is sorta covered in the JavaRanch Style Guide.
subject: Error with Tomcat 6
Similar Threads
Tomcat: digester error on startup
Failed to install Tomcat5 Service
Tomcat 5.5x on Windows 7 problems
Problems stopping tomcat 6.0.32 on windows
jsf installation on jakarta-tomcat-5.5.9