[jboss-dev-forums] [Design of Clustering on JBoss] - Re: Removing SFSB in HttpSessionListener
bstansberry@jboss.com
do-not-reply at jboss.com
Wed Jul 16 10:51:37 EDT 2008
If the SFSB is packaged with the war and the dependencies are working correctly, the SFSB should be undeployed locally before the war. So disconnecting the SFSB cache from the cluster before undeploying won't help. This remove call will just go to another node anyway.
The ClusteredSession.expireSession(...) method that gets called when the manager clears sessions takes 'notify' param that controls whether the HttpSessionEvent gets set. Currently that's 'true', probably should be 'false'. Probably should be configurable, with a default of 'false'.
It's more complicated than that; i.e. that 'notify' flag is used for other purposes as well; need to examine the semantics of those usages.
The most complicated part is the need to ensure the event eventually gets emmitted. i.e. if the last node in the cluster is shutting down, then the session really is being destroyed.
Can you open a JIRA for this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164770#4164770
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164770
More information about the jboss-dev-forums
mailing list