We are Using SUN JSF 1.2, WebSphere 7.0 for our application, we are getting ViewExpiredException only during the load testing
I have gone through the below link
javax.faces.application.ViewExpiredException: View could not be restored
Have followed most of the stuff,
Setting the context param,
com.sun.faces.enableRestoreView11Compatibility true
Instructed the browser to not cache the dynamic JSF pages by adding the below code at top of all JSP pages,
res.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); res.setHeader("Pragma", "no-cache"); res.setDateHeader("Expires", -1);
We are not getting the exception when we manually browse through the application. I am not able to figure out the issue.
Kindly advice.