This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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
Author

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: 16022
    
  20

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
rick zorich
Greenhorn

Joined: Aug 31, 2003
Posts: 16
Maybe this will help.
http://forum.java.sun.com/thread.jspa?threadID=527577&messageID=2641718
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: works in tomcat 5 but not in tomcat 5.5