You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Siddhartha (JIRA)" <ji...@apache.org> on 2016/02/23 16:13:20 UTC
[jira] [Created] (ZOOKEEPER-2371) zkServer.sh status does not work
if JMX Port is enabled
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)