File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes works in tomcat 5 but not in tomcat 5.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "works in tomcat 5 but not in tomcat 5.5" Watch "works in tomcat 5 but not in tomcat 5.5" New topic

works in tomcat 5 but not in tomcat 5.5

Andles Jurgen
Ranch Hand

Joined: Mar 18, 2002
Posts: 67
I keep getting the following error when deploying a working JSF app on Tomcat 5.5:

javax.servlet.ServletException: Servlet.init() for servlet Faces Servlet threw exception

The app works just fine in Tomcat 5 and is configured correctly. I develp with JBuilder and run tomcat 5 for testing through JBuilder. Then, when I fire up Tomcat 5.5, it fails. (no port issues, nothing like that) I ma not using shared folder, just the web-inf/lib folder for all the needed api's.

any ideas, I am all out?
Eugene Lucash
Ranch Hand

Joined: Feb 19, 2005
Posts: 77
I assume that you have tested your app in standalone tomcat5, manually
deploying it.
Am I right?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

Somewhere out there should be a complete stack trace. Including the actual exception itself. If it didn't show up in the browser window, look in the $TOMCAT_HOME/logs directory.

An IDE is no substitute for an Intelligent Developer.
rick zorich

Joined: Aug 31, 2003
Posts: 16
Maybe this will help.
I agree. Here's the link:
subject: works in tomcat 5 but not in tomcat 5.5
It's not a secret anymore!