File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 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(
at com.sun.faces.application.WebappLifecycleListener.requestDestroyed(
at com.sun.faces.config.ConfigureListener.requestDestroyed(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
at 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 ]
Don't get me started about those stupid light bulbs.
subject: Error with Tomcat 6