Hi Peter and others,
Thank you for the instructions, I got it working! :)
I have still one question: how will I get the received
message passed to my web application (message is
received by Catalina)? (is there a way to add that
listener to my web application or does it have to be
defined in the
Hey Bradley,
a) mark application as priviliged=true
b) define and implement your own ClusterMessage
c) via MbeansServer you got the Catalina:type=Cluster,host=localhost
mbean and send your
operation ( send(ClusterMessage)).
d) Register a ClusterListener.
with 5.5.11 you can con
this is a good question. i'll be facing the same issue soon. for
session-based information, your answer is fine, but what about other
types of info, say at the app-level? in one of my apps, for example, I
can change some config data using a web request, but what if i want to
ensure it is replica
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 F
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