Re: How to query for number of active participants in the tomcat 5.5 cluster

2005-06-09 Thread Filip Hanik - Dev Lists
you would need to write a component that queries the cluster classes (internal tomcat components) yourself. I believe you can reach the cluster object through JMX and through the tomcat classes (host etc) the interface CatalinaCluster.getMembers() returns all members in a cluster. Filip

Re: How to query for number of active participants in the tomcat 5.5 cluster

2005-06-09 Thread Peter Rossbach
Hey, I have checkin today a JMX Object for McastService (Membership implementation) to access the membership list via mbean. :-) Also every sender is a mbean ( type IDataSender). Look inside the Mbean list via jconsole. Peter Filip Hanik - Dev Lists schrieb: you would need to write a

Re: How to query for number of active participants in the tomcat 5.5 cluster

2005-06-09 Thread Edmon Begoli
Hi, To answer my own question and for the sake of others. I think I have figured out the way how to query Tomcat for the number of active members in the clusters (that replicate sessions) using available MBeans. To make it easily available I put instructions on my blog - you can access

How to query for number of active participants in the tomcat 5.5 cluster

2005-06-07 Thread Edmon Begoli
Hi, Is it possible to query host tomcat for the number of active participants in the cluster that host tomcat belongs to. If yes - can you please point me to the API, and possibly examples. Thank you, Edmon - To