Download examples from our Liferay demo of JSF/RichFaces applications using JBoss Portlet Bridge.
Published by
DevRel & No-Code
Download examples from our Liferay demo of JSF/RichFaces applications using JBoss Portlet Bridge.
Published by
Thx
Alexander
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(JspServlet.java:319)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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(FacesServlet.java:270)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
Cheers
Oliver
P.S. I’m using the Tomcat bundle
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
org.jboss.portletbridge.context.ServletExternalContextImpl.(ServletExternalContextImpl.java:100)
org.jboss.portletbridge.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:164)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:260)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
Thx & Cheers
Oliver
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.
What’s very interesting, today the applications runs OK on Tomcat…
Which version of JBoss do you use? Did you use a new example portlet or still the same version, when it worked?
Thx
Oliver
Everything is the same, it just worked. Possibly has to do something with an old session.
Is this problem solved? We als get the same problem! Any help? It is very important for us!
Which problem? There are two different problems in the comments. It would also help if you can send the exact error, log file, etc.
I get the same problem as mobinauten described in the second reply!
Any chance you can send us a war file where this problem is reproduced? You can send it via http://drop.io . You can send the link to my email if you don’t want to share it here.
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”
@Kartheek: There is no RichFaces 2.0 – I’m assuming you mean JSF 2. You should post this question on portal bridge forum: http://community.jboss.org/en/portletbridge?view=discussions
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”
@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