6 Replies Latest reply on Aug 2, 2011 3:47 PM by Steven Ercolani

    Login Page ViewExpiredException

    Shawn Zimmerman Newbie

      If I let the login page of my application sit past the session-timeout set in web.xml, when I do try logging in, I get a ViewExpiredException.


      This appears to be a known issue based on these old posts:


      ----------


      http://seamframework.org/Community/ViewExpiredExceptionOnLoginPage


      Same issue I am having; old post.


      ----------


      http://seam-framework.2283336.n4.nabble.com/PARAM-BUILD-BEFORE-RESTORE-td3273273.html


      Sound like it should be resolved as of JSF 1.2, however I am still having the same issue.  I tried setting the facelets.BUILD_BEFORE_RESTORE parameter and started receiving <s:convertEntity> No Converter was created errors.


      ----------


      http://seamframework.org/Community/HeresHowToSupportLoginAndLogoutEvenWhenTheViewHasExpired


      Seems to be a relevant hack.  There must be a easier way.


      ----------


      I assume many people are having this same issue although I can't find too much documentation on how to fix it.


      Are there any newer developments on this issue?


      I am using Seam 2.2.0GA, Richfaces 3.3.3Final and Glassfish v2.1.1


      Shawn