Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1
-
None
-
tomcat 5
Description
ConversationManagerSessionListener has serveral issues:
1) attributeReplaced sets the old instance of conversationManager in conversationWiperThread instead of the new one
2) on session expire ConversationManagerSessionListener.attributeRemoved is getting called and session.getId() throws IllegalStateException
3) ConversationManagerSessionListener.sessionDestroyed will throw a IllegalStateException as well -> method is useless
Solution:
1) use a unique id for conversationManager instead of session.getId() as a key in conversationWiperThread
2) remove HttpSessionListener interface from ConversationManagerSessionListener