5 Replies Latest reply on Jan 22, 2009 8:25 AM by Ilya Shaikovsky

    problem in creating the simple richfaces application on Netb

    samy omar Newbie


      Dears please help me, I tried many times to create the very simple
      richfaces application as described in the tutorials, but I failed

      I am using netneabs 6.1 , JDK 1.5 , J2ee 5 , tomcat 6. richfaces 3.2.1
      and even I tried glassfish and tomcat 5.5 but did not work also

      I create web application , then I add JSF framework to the application
      and then modify the web.xml amd faces-config.xml file
      and I added the richfaces jars to the application library ....

      Do any body know how to use rich faces on netbeans ???

      Thanks
      Samy

        • 1. Re: problem in creating the simple richfaces application on
          Ilya Shaikovsky Master

          one simple hint for you. RF could be added to any working JSF application. So just find some NetBeans guide about just JSF app creation and create JSF application which you could be able to run successfully. Then you'll be able just add our jars and filter and run it without any problems.

          • 2. Re: problem in creating the simple richfaces application on
            samy omar Newbie

            I found the solution, and I got mad when I knew it.

            I found that my simple application missed some jars, which are not noted as explicit requirements in the RichFaces documentation or in the Online demo creation steps , RichFaces assumes the following JARs are available:
            * commons-beanutils-1.7.0.jar
            * commons-collections-3.2.jar
            * commons-digester-1.8.jar
            * commons-logging-1.0.4.jar
            * jhighlight-1.0.jar

            Why RichFaces documentation did not show that ?????????????????
            Why we must suffer with any new open source technology ????????
            Why people did not show that in this forum in clear description ????
            This problem will be occurred for any developer who try RichFaces on netbeans or on Jdeveloper or .. or................

            I found this solution in this link
            http://www.ibm.com/developerworks/java/library/j-richfaces/index.html

            Thanks for ilya_shaikovsky who gave me very helpful hint

            • 3. Re: problem in creating the simple richfaces application on
              Ilya Shaikovsky Master

              Thanks for your point. I'll ping doc team about this.

              B.t.w. be patient please. If you will get really important info from the beggining the answers will become much more useful. E.g. if you talking about "just nothing works" or "completelly failed" than prepare to get "can't reproduce" answer. But after providing exceptions from server log, environment details(not general points) and so on - you will get full answer. Just help us to help you. We can't imagine your case in details and from the other side there are many users which problems could be discussed because already reproduced clearly.

              • 4. Re: problem in creating the simple richfaces application on
                samy omar Newbie

                You are right Ilya,
                I had to show the server exception or something similare.
                But I was so angry when I failed to setup the first simple demo in the documentation or in the developer guide.
                I lost trust with the developer guide somehow. But I am still working
                with Richfaces ....... hoping they will recover any problem or missing
                info in the dev guide.

                Thanks again and please donot forget to ping the documentation team to
                update it in the new version 3.3

                Samy

                • 5. Re: problem in creating the simple richfaces application on
                  Ilya Shaikovsky Master

                  Certainly I will. And awaiting your feedback on any additional problems with the components if appears ;)