Siddhartha created ZOOKEEPER-2371:
-------------------------------------

             Summary: zkServer.sh status does not work if JMX Port is enabled
                 Key: ZOOKEEPER-2371
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2371
             Project: ZooKeeper
          Issue Type: Bug
          Components: scripts
    Affects Versions: 3.4.8
         Environment: Linux Centos 6
Java 1.7
            Reporter: Siddhartha
            Priority: Minor


If I try to execute 'bin/zkServer.sh status' while having
'-Dcom.sun.management.jmxremote.port=9011' in $JVMFLAGS,
zookeeper quits with "Error: Exception thrown by the agent : 
java.rmi.server.ExportException: Port already in use: 9011".

EIther some other means of getting status should be used, or some way of not 
setting JMX variables in this case should be added.

Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to