3 Replies Latest reply on Nov 11, 2011 3:49 PM by bleathem

    Richfaces in Jboss 7

    spandit2

      Folks ,

       

      I am porting one of our application to Jboss AS7 . This application running perfectly in Jboss 5. It is using richfaces and fecelet .

       

      I am running in all sorts of issues such as  'ModalPanel' is undefined , not being able to load a4j etcc.

       

      I have following Jar files in Web-inf/lib folder

       

      jsf-api.jar         Implementation-Version: 1.2_12-b01-FCS

       

      jsf-impl.jar      Implementation-Version: 1.2_12-b01-FCS

      richfaces-api-3.3.1.GA.jar

      richfaces-impl-3.3.1.GA.jar

      richfaces-ui-3.3.1.GA.jar

       

      I also have following entry in web.xml

       

      <context-param>

            <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>

            <param-value>true</param-value>

          </context-param>

       

      So I assume all jsf jars are loaded from web-inf/lib

       

      Can some one shed some light on how to diagnose this issue ? Is it Jar related issue ?

       

      Am I missing any configuration in web.xml

       

      Thanks

      Sunil

        • 1. Re: Richfaces in Jboss 7
          bleathem

          You have the WAR_BUNDLES_JSF_IMPL context-param set in your web.xml?

           

          This is the best reference I could find at the moment for doing this with AS7:

          http://community.jboss.org/thread/171282

          • 2. Re: Richfaces in Jboss 7
            spandit2

            Thanks Brian for quick response . The link you mentioned says

             

            Yes, starting with AS 7.0.1, WAR_BUNDLES_JSF_IMPL does work. However, as in past AS versions, you are on your own for configuring annotation scanning and other JEE features that integrate JSF with the app server.

             

             

            What does this mean ? What annotations I have to provide or what do I need to do to Integrate the jsf with application server ?

             

            Sorry for nive question .

             

            Sunil

            • 3. Re: Richfaces in Jboss 7
              bleathem

              Unfortunately I don't know, as I ahvent' worked through it myself yet with AS 7.  I encourage you to give it a shot, and ask more questions in the AS 7 forum.  The link I provided includes a helloworld app that may help you get started.

               

              Please do post back hear with details of your successes!