2 hours and you already crying ;)

In the clustering code there is something called a
"org.apache.catalina.cluster.MessageListener". this is an interface that you
implement, then you register your object with the cluster. When the cluster
receives a message, it will call accept() on the listener, if acept returns
true, it will invoke messageReceived.

All your messages that you send/receive through the cluster, must implement
ClusterMessage

Filip


-----Original Message-----
From: Srinivas Rao Ch [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 6:41 AM
To: Tomcat Users List
Subject: RE: How can I make cluster nodes communicate info other than
session


Can someone please answer my queriees

Regards,
Srinivas

-----Original Message-----
From: Srinivas Rao Ch [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 19, 2004 2:28 PM
To: Tomcat Users List
Subject: How can I make cluster nodes communicate info other than
session


1. I have to design an application in which the cluster nodes and LB will be
communicating application specific information other than session info. How
can I do this? Do I need to subclass/implement ReplicationTransmitter and
ReplicationListener like classes? Or is there any other way?

2. I am using the balancer application of TC for load balancing, once after
the request is dispatched to the cluster node the subsequent requests are
going to the same cluster node directly(Obviusly). Now I want to make each
and every request of the conversation go the the same cluster node through
LB. Can I do this without changing anything in my application.

Regards,
Srinivas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.735 / Virus Database: 489 - Release Date: 8/6/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.735 / Virus Database: 489 - Release Date: 8/6/2004


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to