Hello,
I have a JSF (Richfaces) / EJB application running on JBoss AS 4.0.2. When my session times out it takes me to the login screen. After login I get an HTTP Status 500 with an exception: javax.servlet.ServletException: viewId:/rich/profile/myPage.jsf - View /rich/profile/myPage.jsf could not be restored. The only way to get it to properly display is to do a proper logout using my logout servlet (which clears the session) and then log back in.
So how can I force my logout servlet to be called when the session timeout. I need to somehow avoid this error page on timeout.
Thanks for your help.
Jared