-
1. Re: Migration web application Listener to cluster mode
nvijsan Mar 16, 2009 5:10 PM (in response to luuzz)(1) Use <dependency ....> ?
(2) Can you provide some brief details on what the treatments are?
Thanks
Naga Vijayapuram -
2. Re: Migration web application Listener to cluster mode
luuzz Mar 16, 2009 6:14 PM (in response to luuzz)Thank you for the quick answer !!
In our application, when a user connects we create a ActorSession in the data base so that we can know on which machine he's connected to. And while an ActorSession is active (not closed) the user cannot connect on another machine until he closes it by disconnecting himself.
So when the application starts, we have to close all pending sessions other whise the users who were connected, can't connect anymore.
We did this when deploying the .war by using the ContextListener, this solution is not cluster safe. -
3. Re: Migration web application Listener to cluster mode
brian.stansberry Mar 17, 2009 12:34 PM (in response to luuzz)See "HASingleton Deployments Using a Barrier" on http://www.jboss.org/community/docs/DOC-9838