Senthil Chidambaram

The soul...
The feeds...
The links...
Thursday Aug 02, 2007

glassfish 9.1 admin-console (admingui) logout issue

We see users experiencing the header.jsf (masthead frame) is being occupied in the whole admin-console window when logout button is clicked. Not only the masthead frame occupies the whole window, logout never happened, meaning session was not terminated. We found out a work around for this, hopefully we'll provide a fix in the update releases. The issue here is by default JSF caches up to 15 views, meaning when you go to 15 different screens, and click logout it redirects to the same page, where the request has come from, in this case masthead (header.jsf). To fix this as an workaround you can add the following entries in your web.xml under <INSTALL_ROOT>/lib/install/applications/admingui/adminGUI_war/WEB-INF

 <context-param>
        <param-name>com.sun.faces.numberOfViewsInSession</param-name>
        <param-value>100</param-value>
    </context-param>