Download JSF/RichFaces example to run in portal with JBoss Portal Bridge

Download examples from our Liferay demo of JSF/RichFaces applications using JBoss Portlet Bridge.

Published by

15 responses to “Download JSF/RichFaces example to run in portal with JBoss Portal Bridge”

  1. Thx

  2. Hi,

    thx for the portlet example but it doesn’t work in LR5.2.2.
    I get the following exception while deploying:

    09:31:58,467 INFO [PluginPackageUtil:1386] Finished checking for available updates in 22 ms
    09:32:09,720 WARN [SkinFactoryImpl:201] Init parameter for a skin name changed to org.richfaces.SKIN
    09:32:12,903 ERROR [InsertTag:922] ServletException in ‘/html/common/themes/portlet.jsp’: File "/welcome.jsf" not found
    javax.servlet.ServletException: File "/welcome.jsf" not found
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(
    at org.apache.jasper.servlet.JspServlet.service(
    at javax.servlet.http.HttpServlet.service(

    And the following while running the portlet:

    09:35:50,622 ERROR [BaseXMLFilter:199] Exception in the filter chain
    javax.servlet.ServletException: viewId:/welcome.jsf – View /welcome.jsf could not be restored.
    at javax.faces.webapp.FacesServlet.service(
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(
    at org.ajax4jsf.webapp.BaseFilter.handleRequest(
    at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(
    at org.ajax4jsf.webapp.BaseFilter.doFilter(

    P.S. I’m using the Tomcat bundle

  3. Hi,

    after I’ve restarted the Tomcat Server the welcome page is displayed but after I try to navigate to any link I get the following error (HTTP 500) with a blank page – any idea?

    javax.portlet.faces.BridgeUninitializedException: JSF Portlet bridge was not initialised before AJAX request

    Thx & Cheers

  4. We are running into the same problem with stand alone Tomcat. Not sure where the source of the problem yet. It definitely works with JBoss AS or WebLogic.

  5. What’s very interesting, today the applications runs OK on Tomcat…

  6. Which version of JBoss do you use? Did you use a new example portlet or still the same version, when it worked?

  7. Everything is the same, it just worked. Possibly has to do something with an old session.

  8. Is this problem solved? We als get the same problem! Any help? It is very important for us!

  9. Which problem? There are two different problems in the comments. It would also help if you can send the exact error, log file, etc.

  10. I get the same problem as mobinauten described in the second reply!

  11. Any chance you can send us a war file where this problem is reproduced? You can send it via . You can send the link to my email if you don’t want to share it here.

  12. Any one has found out a solution for this issue?We are using Rich faces 2.0 and Portlet bridge on top of JBOSS portal 4.3.0 using JSR 286 stndrds.We are facing the same error of ” jsf portlet bridge not initialized before Ajax request”

  13. @Kartheek: There is no RichFaces 2.0 – I’m assuming you mean JSF 2. You should post this question on portal bridge forum:

  14. Sorry for the confusion max…We are using Jboss portal 4.3.0,JSF 1.2 ,Richfaces with Facelets along with Spring 2.0 when we try deploying the app and accesing the app we are facing the error “JSF portlet bridge not initialized before Ajax request”

  15. @Kartheek: your best option is to post this question on the forum. It’s a pretty general error, they will ask you for more information such as configuration, etc .

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.