This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes How to find Tomcat cluster members? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to find Tomcat cluster members?" Watch "How to find Tomcat cluster members?" New topic
Author

How to find Tomcat cluster members?

Arthur Eckert
Greenhorn

Joined: Mar 13, 2012
Posts: 4
Hello folks,

is there a way to figure out all cluster members in a Tomcat node? I would like to extend a web application with a view of all active cluster nodes.

Is there also a way to send messages from one node to another, or a multicast message to all nodes? - At the moment I use jgroups to establish a communication between all nodes.

Thank you in advance,
Arthur
Arthur Eckert
Greenhorn

Joined: Mar 13, 2012
Posts: 4
I found something. Tomcat uses a framework called Apache Tribes (lib directory 'catalina-tribes.jar')

http://tomcat.apache.org/tomcat-7.0-doc/tribes/introduction.html
Arthur Eckert
Greenhorn

Joined: Mar 13, 2012
Posts: 4
I did a bad workaround for test purpose. If anyone knows a better way please let me know.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to find Tomcat cluster members?
 
Similar Threads
Websphere clustering on single machine
Is there any way to not load balance EJB call in WAS cluster?
why session migration and not replication?
How to identify server node in a cluster
Applications on any server