aspose file tools*
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 Java 8 in Action this week in the Java 8 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
why session migration and not replication?
Applications on any server
Websphere clustering on single machine
Is there any way to not load balance EJB call in WAS cluster?
How to identify server node in a cluster