Easy start with JBoss RichFaces

Here is a super easy way to start with RichFaces. Download the template below, it comes with the latest version of JSF and RichFaces, completely configured and ready to use.

I’m assuming you already have working JBoss Developer Studio or JBoss Tools with Tomcat server.

  1. Download richfaces-template.zip and unzip
  2. In JBoss Developer Studio or JBoss Tools, select File/Import/Other/JSF Project
  3. Browse to web.xml file in the template, select OK
  4. Click Next
  5. Accept all default values.
  6. Click Finish
  7. Run the application, http://localhost:8080/richfaces-template . You should see a start page with a message

You are ready to use RichFaces!

If there is a new version of JSF or RichFaces, just replace the following files with new files:

JSF
jsf-api.jar
jsf-impl.jar

RichFaces
richfaces-api-3.2.x.jar
richfaces-impl-3.2.x.jar
richfaces-ui=3.2.x.jar

4 responses to “Easy start with JBoss RichFaces”

  1. Great work. Thank you very much!

  2. Hello,

    It is working but, this error occurs;

    ______________________________________________________________

    SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener
    java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Jul 10, 2009 7:27:43 PM org.apache.catalina.core.StandardContext listenerStart

    ______________________________________________________________

    Thank you.

  3. Which server are you deploying to? This particular template assumes Tomcat 5.5. Here is one for Tomcat 6: http://mkblog.exadel.com/ria/richfaces-with-tomcat-6/

  4. You are awesome!!!!!!!!!!

Leave a comment