Vu Viet Phuong created GTNWCI-49:
------------------------------------
Summary: HttpSession listener don't receive correct sessionID
Key: GTNWCI-49
URL:
https://issues.jboss.org/browse/GTNWCI-49
Project: GateIn Web Container Integration
Issue Type: Bug
Affects Versions: 2.3.1.Final
Reporter: Vu Viet Phuong
This issue is related to this GTNPORTAL-3184. To summary:
when user logout, the sessionDestroyed event is dispatched and
JAASConversationStateListener listener (a HttpSessionListener) will clear the
coressponding Conversation object in the registry.
In WCI (TC7ServletContainerContext class) we have logout code like this:
//This will change the sessionID
servletRequest.logout();
...
//This code dispatch sessionDistroyed event
webapp.invalidateSession();
...
The JAASConversationStateListener receive session destroyed event but with a difference
sessionID. Then it can not remove the corresponding Conversation object in the
ConversationRegitry service
this cause memory leak in the ConversationRegitry and IdentityRegistry service (GateIn
service components)
JB7ServletContainerContext call invalidate session before calling logout --> this bug
doesn't happen in JBoss7 AS
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira