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/26 02:43:18 UTC

[jira] [Resolved] (ZOOKEEPER-2371) zkServer.sh status does not work if JMX Port is enabled

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddhartha resolved ZOOKEEPER-2371.
-----------------------------------
    Resolution: Not A Bug

Sorry that was due to setting -Dcom.sun.management.jmxremote.port manually in zookeeper-env.sh

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