Hi,
I am getting the ViewExpiredException, even when I don't have a session timeout 
for my application, and session is still valid.
This occurs as I am trying to port from MyFaces 1.1 to MyFaces 1.2. The page 
works perfectly fine with MyFaces 1.1.
The stacktrace is as follows:-
An Error Occurred:
/jsf/home.jsfNo saved view state could be found for the view identifier: 
/jsf/home.jsf

Caused by:
javax.faces.application.ViewExpiredException - /jsf/home.jsfNo saved view state 
could be found for the view identifier: /jsf/home.jsf
+- Stack Trace<http://localhost:7001/jsf/home.jsf>

javax.faces.application.ViewExpiredException: /jsf/home.jsfNo saved view state 
could be found for the view identifier: /jsf/home.jsf

        at 
org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:88)

        at 
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)

        at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)

        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:151)

        at 
org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:103)

        at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)

        at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)

        at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)

        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)

        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

        at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)

        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

        at weblogicx.servlet.gzip.filter.GZIPFilter.doFilter(GZIPFilter.java:70)

        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)

        at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)

        at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

        at weblogic.security.service.SecurityManager.runAs(Unknown Source)

        at 
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)

        at 
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)

        at 
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)

        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)

        at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

If anyone has an idea, how to resolve this exception, please do reply.

With regards,
    Sujal

Reply via email to