cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim TSes'ko (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-12454) Unable to start on IPv6-only node with local JMX
Date Sat, 13 Aug 2016 15:36:20 GMT
Vadim TSes'ko created CASSANDRA-12454:

             Summary: Unable to start on IPv6-only node with local JMX
                 Key: CASSANDRA-12454
             Project: Cassandra
          Issue Type: Bug
         Environment: Ubuntu Trusty, Oracle JDK 1.8.0_102-b14, IPv6-only host
            Reporter: Vadim TSes'ko

A Cassandra node using *default* configuration is unable to start on *IPv6-only* machine with
the following error message:
ERROR [main] 2016-08-13 14:38:07,309 - Bad URL path: :0:0:0:0:0:1/jndi/rmi://0:0:0:0:0:0:0:1:7199/jmxrmi
The problem might be located in {{JMXServerUtils.createJMXServer()}} (I am not sure, because
there is no stack trace in {{system.log}}):
String urlTemplate = "service:jmx:rmi://%1$s/jndi/rmi://%1$s:%2$d/jmxrmi";
String url = String.format(urlTemplate, (serverAddress != null ? serverAddress.getHostAddress()
: ""), port);
IPv6 addresses must be surrounded by square brackets when passed to {{JMXServiceURL}}.
Disabling {{LOCAL_JMX}} mode in {{}} (and enabling JMX authentication) helps.

This message was sent by Atlassian JIRA

View raw message