I found that I needed to run the server with


in order to connect a local jconsole instance, this was on my ubuntu machine. YMMV.


Mahadev Konar wrote:
Hi Garth,
 Sorry for the delayed response.

Their is an open jira for doucmentation on jmx

We will be adding the docs soon.

For now: The way you can get jmx support is by running

ManagedQuorumPeerMain rather than QuorumPeerMain

Here is an example commandline:

java -classpath zookeeper/conf:zookeeper/log4j-1.2.15.jar:zookeeper/zookeeper.jar
org.apache.zookeeper.server.quorum.ManagedQuorumPeerMain server1/zoo.cfg


On 11/16/08 2:12 PM, "Garth Patil" <[EMAIL PROTECTED]> wrote:

I'm upgrading to 3.0 from a previous version, and I just noticed the
JMX MBean code in the tree. Is there documentation for what is exposed
and some examples of how to use the MBeans? I couldn't find anything
on the site or in the mailing list archive. Also, has anyone used them
with something other than the platform MBean server (e.g. JBoss)?

Reply via email to