3 Replies Latest reply: Mar 30, 2010 12:53 PM by Nick Belaevski RSS

    JSF2.0 and RichFaces 3.3.3 : publish problem

    Alban JOLY Newbie

      Hi,

       

      Im a trying tu test RichFaces but GlassFish refused to publish my project:

       

      cannot Deploy jsf-basics
        Deployment Error for module: jsf-basics: Exception while loading the app : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! com.sun.facelets.tag.TagHandler%%%EOL%%%

       

       

      I am using JDK 1.6, JSF 2.0 and GlassFish V3

       

      Without RichFaces, my projects works.

       

      Web.xml

       

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
            http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
        version="2.5">
        <servlet>
          <servlet-name>Faces Servlet</servlet-name>
          <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
        </servlet>
        <servlet-mapping>
          <servlet-name>Faces Servlet</servlet-name>
          <url-pattern>*.jsf</url-pattern>
        </servlet-mapping>
        <context-param>
          <param-name>javax.faces.PROJECT_STAGE</param-name>
          <param-value>Development</param-value>
      </context-param>
      <context-param>
         <param-name>org.richfaces.SKIN</param-name>
         <param-value>blueSky</param-value>
      </context-param>
      <context-param>
            <param-name>org.richfaces.CONTROL_SKINNING</param-name>
            <param-value>enable</param-value>
      </context-param>
      <filter>
         <display-name>RichFaces Filter</display-name>
         <filter-name>richfaces</filter-name>
         <filter-class>org.ajax4jsf.Filter</filter-class>
      </filter>
      <filter-mapping>
         <filter-name>richfaces</filter-name>
         <servlet-name>Faces Servlet</servlet-name>
         <dispatcher>REQUEST</dispatcher>
         <dispatcher>FORWARD</dispatcher>
         <dispatcher>INCLUDE</dispatcher>
      </filter-mapping>
      <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>index.html</welcome-file>
      </welcome-file-list>
      </web-app>

       

      face-config.xml

       

      <?xml version="1.0"?>
      <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
            http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
         version="2.0">
        <navigation-rule>
          <from-view-id>/health-plan-signup-2.xhtml</from-view-id>
          <navigation-case>
            <from-outcome>accepted</from-outcome>
            <to-view-id>/page-for-accepted.jsp</to-view-id>
          </navigation-case>
          <navigation-case>
            <from-outcome>rejected</from-outcome>
            <to-view-id>/page-for-rejected.jsp</to-view-id>
          </navigation-case>
        </navigation-rule>
      </faces-config>

       

      And, finally, my WEB-INF/lib contains :

      • commons-beanutils-1.8.0.jar
      • commons-collections-3.2.jar
      • commons-digester-1.8.1.jar
      • commons-logging-1.0.4.jar
      • jhighlight-1.0.jar
      • jsf-api.jar
      • jsf-impl.jar
      • richfaces-api-3.3.3-SNAPSHOT.jar
      • richfaces-impl-jsf2-3.3.3-SNAPSHOT.jar
      • richfaces-ui-3.3.3-SNAPSHOT.jar

       

      Do you have any explication ? or Can you help me to solve the problem ?

       

      Thank you