This week's book giveaway is in the Security forum.
We're giving away four copies of Penetration Testing Basics and have Ric Messier on-line!
See this thread for details.
Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No facelets examples working on Tomcat 5.5.17

Renzo Tomaselli
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, I am not able to run *any* facelet example on Tomcat 5.5.17, while *all* JSF examples (and my own cases too) run fine.
Localhost log reports:

SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.GlassFishConfigureListener
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
at com.sun.faces.config.ConfigureListener.getServletContextIdentifier(
If I replace JSF 1.2 jars through those provided by Sun, then I get:

SEVERE: Error configuring application listener of class com.sun.faces.config.GlassFishConfigureListener
java.lang.ClassNotFoundException: com.sun.faces.config.GlassFishConfigureListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(

Funny enough, the jsf12KickStart example, showing JSF 1.2 on Tomcat through servlets (as an escape), runs fine.
Any help ? Thanks -- Renzo
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic