3 Replies Latest reply on Aug 29, 2007 2:26 AM by baz

    richfaces demo nightly wars

    baz

      Hello,
      i am trying to use the richfaces demo War File - nightly build according to:
      http://jboss.com/index.html?module=bb&op=viewtopic&t=104575
      There is this text

      Note: the war files of examples and demos are adopted for Tomcat 5.x
      To work with Tomcat 6: remove el-api-xxx.jar from WEB-INF/lib
      To work with Jboss 4.2: remove el-api-xxx.jar, jsf-api-xxxx.jar, jsf-impl-xxxx.jar from WEB-INF/lib


      The war is deployed to tomcat 5.5 server. According to the info it can be used as is.
      But i am receiving this exception:
      SCHWERWIEGEND: Skipped installing application listeners due to previous error(s)
      28.08.2007 16:31:10 org.apache.catalina.core.StandardContext listenerStart
      SCHWERWIEGEND: Error configuring application listener of class com.sun.faces.config.ConfigureListener
      java.lang.NoClassDefFoundError: javax/el/CompositeELResolver
       at java.lang.Class.getDeclaredConstructors0(Native Method)
       at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
       at java.lang.Class.getConstructor0(Unknown Source)
       at java.lang.Class.newInstance0(Unknown Source)
       at java.lang.Class.newInstance(Unknown Source)
       at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3676)
      

      Is the info correct and the demo corrupt?

        • 1. Re: richfaces demo nightly wars
          baz

          The info is not correct. The demo wars are packaged for tomcat6.
          Deploying to tomcat6 yields no error and the demo starts.

          Please update the info. Thanks.

          Is there a way to use richfaces 3.10 with jsf1.1 (tomcat 5.5)?

          • 2. Re: richfaces demo nightly wars

            RichFaces 3.0.1 is still a latest official release. So, the info is keeping accurate for it.

            Different profile are used for different kind of run-time environment. Those are tomcat5, tomcat6, jboss42

            I.e. for tomcat 5, use:
            mvn install -P tomcat5

            P.S. there is no doubt yet to worry about compatibility with 1.1


            • 3. Re: richfaces demo nightly wars
              baz

              Thanks for the answer.

              Examples:
              [RichFaces-demo Online] [War File - nightly build] [Source Code (SVN)]

              Test Applications:
              [Source Code(SVN)] [How to Build and Launch]

              Note: the war files of examples and demos are adopted for Tomcat 5.x

              I understand this text in the way that the War File - nightly build is adopted for Tomcat5.
              So the text is at least missunderstood by me.