This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, one year ago I developed a JSF-software using Tomcat 5.5.7 and SUNs reference implementation, which worked fine. Now I try to replace it by MyFaces and I get this error navigating to the first page:
There is no protocol entry in the TOMCAT logs directory. The only thing I did was replacing the related jars, which should be the only thing to do, as I understand the concept ;-). Any idea what the reason could be?
Your error looks exactly the the one I had last night.
It turned out I was missing ehcache.jar in my libs. I'm using Hibernate on a project B that depended on A. Both A and B had the Hibernate libraries. B just had a subset of A's. Once I removed A's export of Hibernate's libs B crashed. I just added ehcache.jar to B and all worked fine.
Point being it had nothing to do with Faces. I'm not sure how your app is laid out, but maybe you removed a bit too much. Check your logs and stdout. Hope that helps.