-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
1.4
-
None
Session event listener threw exception
java.lang.IllegalStateException: getAttribute: Session already invalidated
at org.apache.catalina.session.StandardSession.getAttribute(StandardSession.java:953)
at org.apache.catalina.session.StandardSessionFacade.getAttribute(StandardSessionFacade.java:171)
at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.sessionDestroyed(UserSessionExpiryListener.java:28)
Some application servers (such as Tomcat) take a literal interpretation of the servlet spec over, say, a SANE one, and invalidate the HttpSession before passing it to the session listener's sessionDestroyed() method. Because of this, the listener can't actually DO anything with the session, rendering it COMPLETELY USELESS.
We need to find another way to detect when a user has logged out, or at least disable user tracking on those appservers that work this way. Resin and Orion seem fine, Tomcat 4.x is definitely broken, and I suspect Weblogic will behave the Tomcat way.
See also: http://www.caucho.com/support/resin-interest/0207/0332.html
[CONFSERVER-3415] Session already invalidated - UserSessionExpiryListener tries to retrieve attributes from invalid sessions
Workflow | Original: JAC Bug Workflow v3 [ 2882190 ] | New: CONFSERVER Bug Workflow v4 [ 2990733 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2783854 ] | New: JAC Bug Workflow v3 [ 2882190 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2712669 ] | New: JAC Bug Workflow v2 [ 2783854 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2372275 ] | New: JAC Bug Workflow [ 2712669 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2294494 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2372275 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2230909 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 2294494 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2189444 ] | New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2230909 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 1920020 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2189444 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v3 [ 1729946 ] | New: Confluence Workflow - Public Facing - Restricted v5 [ 1920020 ] |
Workflow | Original: CONF Bug Subtask WF (TEMP) [ 1690782 ] | New: Confluence Workflow - Public Facing - Restricted v3 [ 1729946 ] |