1 Reply Latest reply on May 13, 2008 4:39 AM by Ilya Shaikovsky

    Installation problems

    Frank Newbie

      Dear JSF users,
      I've been spending 2 days trying to install JSF rich faces on my JBoss Server. I think the problem is that some libraries of JSF reference other Apache libraries. For example I get a ClassNotFoundError with

      java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LazyMap


      I have moved richfaces classes from WEB-INF/lib to the lib of the application Server and I get:

      java.lang.NoClassDefFoundError: javax/faces/component/ActionSource2


      At the moment I'm using the JBoss embedded with JBPM 3.2.2 and richfaces-ui-3.2.0.SR1

      Please can anybody give me some hints :
      I) On which release of JBoss have you successfully installed RichFaces ?

      II) Where did you put the libraries ? under WEB-INF/lib , under server/lib or under server\deploy\jboss-web.deployer\jsf-libs ?

      Thanks a lot for your feedback.
      Francesco

        • 1. Re: Installation problems
          Ilya Shaikovsky Master

          1) Supported servers mentioned in our dev guide
          2) If you place all the libraries(JSF RF etc..) to Web-inf/lib - use

          <context-param>
           <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
           <param-value>true</param-value>
          </context-param>
          

          in your web.xml