Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
jon kempo
Handle global exception is failing with LIFERAY + JSF help plz!!!
November 19, 2012 5:30 AM

jon kempo

Rank: New Member

Posts: 1

Join Date: November 19, 2012

Recent Posts


I am using Liferay + primefaces + weblogic application. I want to redirect to index page when session timeout but it fails.

My web.xml



12:50:48,601 ERROR [status_jsp:959] org.portletfaces.bridge.BridgeException: jav
ax.faces.FacesException: viewId:/xhtml/expedientes/busquedaExpedientes.xhtml - N
o se pudo restablecer la vista /xhtml/expedientes/busquedaExpedientes.xhtml.
org.portletfaces.bridge.BridgeException: javax.faces.FacesException: viewId:/xht
ml/expedientes/busquedaExpedientes.xhtml - No se pudo restablecer la vista /xhtm

Caused by: javax.faces.application.ViewExpiredException: viewId:/xhtml/expedient
es/busquedaExpedientes.xhtml - No se pudo restablecer la vista /xhtml/expediente
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.jav

Could you give any advise about what happens.

Neil Griffin
RE: Handle global exception is failing with LIFERAY + JSF help plz!!!
November 20, 2012 8:54 AM

Neil Griffin


Rank: Liferay Legend

Posts: 2375

Join Date: July 26, 2005

Recent Posts

When you get a chance, please upgrade from PortletFaces Bridge to Liferay Faces Bridge. Having said that, the web.xml <error-page> element is a Servlet 3.0 feature that will redirect to a specific URL. I've never tried it, but I think you would need to specify a portal page like /web/community/pagename instead of a JSF view like /faces/inicio.xhtml?reason=expired