1 Reply Latest reply on Aug 8, 2007 2:22 AM by sergeysmirnov

    It is possible to configure the ICEface and RichFace in a si

      Hi everyone

      This is my project environment
      1.JBOss seam 1.2.1GA
      2.JBoss -4.0.5.GA
      3.RichFace -3.0.1-SNAPSHOT
      4.ICEface-1.6.DR5
      5.Apache-ant-1.6.1
      6.Eclipse 3.3 with Red Hat Developer studio plugin

      I need to configure ICEface and RichFace in a single project.
      But i cant configure it.
      I need to know it is possible to configure the ICEface and RichFace in a single project.

      I try to configure it in two different ways

      First way:
      1.create a ICEface project by ICEface seamgen.
      2.Right click the project in my eclipse project explorer window
      3.and click the ?Add custom capability? then i enable the RichFace component in the add custom capability window
      4.Then i built my project it gives following exception

      java.lang.ClassNotFoundException: org.jboss.seam.servlet.SeamListener
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3711)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
       at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
       at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)


      Second Way:
      1.create a ICEface project by ICEface seamgen.
      2.then i put the following jar file into my project lib folder
      ajax4jsf-1.1.1-SNAPSHOT.jar
      richfaces-3.0.1-SNAPSHOT.jar
      oscache-2.3.2.jar
      3.Then i follow the RichFace user guide, i insert this filter setting into the web.xml file for the application
      <context-param>
      <param-name>org.ajax4jsf.SKIN</param-name>
      <param-value>blueSky</param-value>
      </context-param>
      <filter>
      <display-name>Ajax4jsf Filter</display-name>
      <filter-name>ajax4jsf</filter-name>
      <filter-class>org.ajax4jsf.Filter</filter-class>
      </filter>
      <filter-mapping>
      <filter-name>ajax4jsf</filter-name>
      <servlet-name>Faces Servlet</servlet-name>
      <dispatcher>REQUEST</dispatcher>
      <dispatcher>FORWARD</dispatcher>
      <dispatcher>INCLUDE</dispatcher>
      </filter-mapping>
      


      5.Then i built my project it gives following exception
      18:43:02,703 ERROR [[/mypart]] Exception starting filter ajax4jsf
       java.lang.ClassNotFoundException: org.ajax4jsf.Filter
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
       at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
       at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:209)
       at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)
       at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:77)
       at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3634)
       at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)


      Please any one help me it is possible to configure those two component in a single project

      By
      Thiagu.m