2 Replies Latest reply on Dec 9, 2009 3:33 PM by Piotr Sobczyk

    Seam 2.2.0 GA on Tomcat 5.5, problem with JSP version?

    Piotr Sobczyk Newbie

      Hello,


      I have read an article about running Seam on Tomcat (http://seamframework.org/Documentation/RunningASeamgenProjectOnApacheTomcatWithoutEmbeddedJBoss) very carefully. After applying everything from the article I still have a lot of problems (especially library dependences) but I finally overcome most of them to the moment where I get an exception:


      com.sun.faces.config.ConfigureListener
      com.sun.faces.config.ConfigurationException: It appears the JSP version of the container is older than 2.1 and unable to locate the EL RI expression factory, com.sun.el.ExpressionFactoryImpl.  If not using JSP or the EL RI, make sure the context initialization parameter, com.sun.faces.expressionFactory, is properly set.
           at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:546)
           at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:212)
           at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)



      I really don't know what to do now. I tried to copy jsf-api.jar and jsf-impl.jar (that $SEAM-HOME/lib just as example tomcat55 build script from examples/hiberante uses) directly to $CATALINA-HOME/common/libs, I even tried to add there jstl.jar and standard.jar from tomcat jsp example like Tomcat domcumentation advises here: http://www.horstmann.com/bigj2/tomcat-jsf.html but it didn't help. Has anyone came across similar problem?


      I really need help, thanks in advance.