Details
Description
-
Hide
- ICE-1909.war
- 5.56 MB
- Sam Xiao
-
- META-INF/MANIFEST.MF 0.1 kB
- WEB-INF/classes/.../Ice1909TestBean.class 1 kB
- WEB-INF/classes/.../Ice1909TestBean.java 0.5 kB
- WEB-INF/faces-config.xml 0.5 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/lib/commons-beanutils.jar 184 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-discovery.jar 70 kB
- WEB-INF/lib/commons-el.jar 110 kB
- WEB-INF/lib/commons-fileupload.jar 52 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/el-api.jar 24 kB
- WEB-INF/lib/icefaces-comps.jar 1.47 MB
- WEB-INF/lib/icefaces.jar 740 kB
- WEB-INF/lib/jsf-api.jar 356 kB
- WEB-INF/lib/jsf-impl.jar 778 kB
- WEB-INF/lib/jstl.jar 17 kB
- WEB-INF/lib/xercesImpl.jar 1.15 MB
- WEB-INF/lib/xml-apis.jar 190 kB
- index.jsp 0.3 kB
- test1909.jspx 0.7 kB
- WEB-INF/web.xml 3 kB
Issue Links
- blocks
-
ICE-2748 Unable to reload portal page after session expires
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
As this is an often discussed issue in the forum, we should provide some
best practices or a short tutorial on how to handle login/logout functionality
in an ICEfaces / JSF environment
Intercept *Session.invalidate calls, shutdown framework gracefully, and then invalidate session.
Delay the release of FacesContext.
The delay introduced another problem on app restart:
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1244)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at com.icesoft.faces.util.event.servlet.ContextEventRepeater.iceFacesIdDisposed(ContextEventRepeater.java:207)
at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$3.run(MainSessionBoundServlet.java:123)
Avoid the use of threads when shutting down.
Intercepted HttpSession.invalidate and PortletSEssion.invalidate calls.