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
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.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to find Tomcat cluster members?