tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Farbos <lionel.far...@free.fr>
Subject Re: Cluster and notifications to nodes
Date Fri, 16 Sep 2005 15:53:36 GMT
Hi,

Why do you want your application to send a notification ?
If you configure Session Replication in each of your Tomcat servers, 
every time there will be a change in your HTTP session, the others AS in the cluster will
be notified and synchronized automatically.
You have nothing to do...

On Fri, 16 Sep 2005 15:18:58 +0100 (BST)
Eino Lilius <elilius@yahoo.co.uk> wrote:

> Hi,
> 
> I have successfully installed a Tomcat cluster :) 
> I need to notify other nodes in the cluster when a
> state is changed in my web application. My problem is
> that I don't know how to send those notifications. 
> 
> I've found one reply to similar question: "You can
> register your own Cluster Message Listener and with 
> SimpleTcpCluster.send(ClusterMessage) you can send
> your message to all cluster nodes."
> 
> How is that done in practice? Does someone have an
> example how to get the reference to that
> SimpleTcpCluster instance? 
> 
> Any help is appreciated :)
> 
> Thanks,
> Eino
> 
> 
> 		
> ___________________________________________________________ 
> How much free photo storage do you get? Store your holiday 
> snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message