aspose file tools*
The moose likes JSF and the fly likes ViewExpiredException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "ViewExpiredException" Watch "ViewExpiredException" New topic
Author

ViewExpiredException

Giri Regu
Greenhorn

Joined: Apr 03, 2006
Posts: 15
Hi All,

i am developing a application Using MObile JSF. if i keep my page as idle i am getting the below exception

javax.faces.application.ViewExpiredException: viewId:/pages/mobile/login.jsp - View /pages/mobile/login.jsp could not be restored.
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:187)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.ericsson.sn.mobilefaces.MobileFacesServletFilter.doFilter(MobileFacesServletFilter.java:96)
at com.efici.eficash.client.filter.WapRequestFilter.doFilter(WapRequestFilter.java:37)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

AT that time my session is not expired i am sure about that.

Pleaes help me on this

Thanks in advance
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Giri Regu wrote:
AT that time my session is not expired i am sure about that.

Sorry to disappoint you, but the exception says otherwise.
Determine the session ID using a dummy test filter.
Giri Regu
Greenhorn

Joined: Apr 03, 2006
Posts: 15
Hi,

actually i set the session time out as 30 mins. i have opened the login page browser left idle for 1 min then give the credentials then click the summit button then this exception throws.

"Determine the session ID using a dummy test filter."
can you explain a bit about how to do the above statement

Thanks,
Giridaran
 
wood burning stoves
 
subject: ViewExpiredException