You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "Xiangdong Huang (Jira)" <ji...@apache.org> on 2020/02/13 12:12:00 UTC

[jira] [Created] (IOTDB-479) JMX connection failed

Xiangdong Huang created IOTDB-479:
-------------------------------------

             Summary: JMX connection failed
                 Key: IOTDB-479
                 URL: https://issues.apache.org/jira/browse/IOTDB-479
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Others
    Affects Versions: 0.10.0-SNAPSHOT
            Reporter: Xiangdong Huang


Hi, 

I find a case that the server has bind JMX port successfully after IoTDB startup and the bind IP is also correct.  (using `lsof -i:31999` to check.)

However, the user can not connect to the server using Jconsole or JvisualVM. 

This issue usually happens when the server has more than one IP.

I tried several solutions and think the following may be useful:

add `-Dcom.sun.management.jmxremote.rmi.port=THE PORT` and `-Djava.rmi.server.hostname=THE IP` to $IOTDB_JMX_OPTS in iotdb-env.sh.

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)