I ran into the following problem. I have a web application which uses JSF (PrimeFaces 3.4) and Glassfish. I am trying to redirect the user to the login page, when a session timeout occurs. Now I have read a lot about this, and tried a lot of solutions. First I tried writing an ExceptionHandler with no results. After hours of research, I decided to try Omnifaces (1.3-SNAPSHOT) FullAjaxExceptionHandler. Still no result.
While debugging, I noticed, that the handlerfactory is being called correctly, but the UnhandledExceptionQueue is always empty for me. It seems that there is no ViewExpiredException (or any other type of exception) is thrown.
The symptom is always the same: after the session timeout occurs, there is absolutely no response from the server. Only if I reload the whole page, the login page appears, showing that the session is not valid anymore.
Please give me some advice on this, thank you very much!