Dear all, We have run into an issue with our application in production wherein once a database rollback occurs, our application state somehow gets messed and we repeatedly keep seeing ViewExpiredExceptions like so ...
[12/24/11 3:51:52:301 EST] 000003b3 SystemErr R javax.faces.application.ViewExpiredException: /showItem.xhtml No saved view state could be found for the view identifier: /showItem.xhtmlnull [12/24/11 3:51:52:302 EST] 000003b3 SystemErr R at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:128)null [12/24/11 3:51:52:302 EST] 000003b3 SystemErr R at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)null [12/24/11 3:51:52:302 EST] 000003b3 SystemErr R at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)null Caused by: javax.faces.application.ViewExpiredException: /showShoppingCart.xhtml No saved view state could be found for the view identifier: /showShoppingCart.xhtml at org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:128) at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at com.ibm.faces20.portlet.FacesPortlet.processAction(FacesPortlet.java:238) This happens for ALL the JSF facelets *.xhtml files in our application. This is a JSF 2 application. What is the next step in debugging these ViewExpiredExceptions ? For starters I have enabled the trace * *=info:org.apache.myfaces.lifecycle*=all* * * All your tips are appreciated. --Thanks, Rohit Kelapure

