JSF ViewExpiredException - Session not expired yet
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gaurang_Vyas
Posted On:   Saturday, December 17, 2011 12:08 AM

We are getting ViewExpiredException in our application which is based on SEAM framework... It is using Mojara implementation of JSF (version 1.2_12) ... Issues comes only few times during few form submission events and not able to reproduce at all. Below is the log extracted. Session Available, but View State does not exist for viewId: /consultation/survey/view.xhtml Session is not expired which we can see from above statement and I have observed as well. Tried increasing numberoflogicalviews and enable11compatibility parameters but still not working. Please refer to full log below.. 2011-12-12 15:10:06,217 FINE [javax.enterprise.resource.webcontainer.jsf.li   More>>

We are getting ViewExpiredException in our application which is based on SEAM framework...
It is using Mojara implementation of JSF (version 1.2_12) ...


Issues comes only few times during few form submission events and not able to reproduce at all. Below is the log extracted.


Session Available, but View State does not exist for viewId: /consultation/survey/view.xhtml


Session is not expired which we can see from above statement and I have observed as well. Tried increasing numberoflogicalviews and enable11compatibility parameters but still not working.


Please refer to full log below..




2011-12-12 15:10:06,217 FINE [javax.enterprise.resource.webcontainer.jsf.lifecycle] (ajp-0.0.0.0-8009-1) Entering RestoreViewPhase

2011-12-12 15:10:06,217 FINE [javax.enterprise.resource.webcontainer.jsf.application] (ajp-0.0.0.0-8009-1) servletPath /consultation/survey/view.html

2011-12-12 15:10:06,217 FINE [javax.enterprise.resource.webcontainer.jsf.application] (ajp-0.0.0.0-8009-1) pathInfo null

2011-12-12 15:10:06,217 FINE [javax.enterprise.resource.webcontainer.jsf.application] (ajp-0.0.0.0-8009-1) URL pattern of the FacesServlet executing the current request .html

2011-12-12 15:10:06,217 FINE [javax.enterprise.resource.webcontainer.jsf.application] (ajp-0.0.0.0-8009-1) viewId after appending the context suffix /consultation/survey/view.xhtml

2011-12-12 15:10:06,217 FINE [javax.enterprise.resource.webcontainer.jsf.application] (ajp-0.0.0.0-8009-1) Begin restoring view in session for viewId /consultation/survey/view.xhtml

2011-12-12 15:10:06,217 FINE [javax.enterprise.resource.webcontainer.jsf.application] (ajp-0.0.0.0-8009-1) Session Available, but View State does not exist for viewId: /consultation/survey/view.xhtml

2011-12-12 15:10:06,358 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gi].[Faces Servlet]] (ajp-0.0.0.0-8009-1) Servlet.service() for servlet Faces Servlet threw exception
javax.faces.application.ViewExpiredException: viewId:/consultation/survey/view.html - View /consultation/survey/view.html could not be restored.
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:185)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:103)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310)
at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at au.gov.qld.ssq.gi.web.filter.ErrorCatchFilter.doFilter(ErrorCatchFilter.java:83)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:73)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:42)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436)
at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:384)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)

   <<Less
About | Sitemap | Contact