[ https://issues.apache.org/jira/browse/CASSANDRA-12454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sam Tunnicliffe updated CASSANDRA-12454: ---------------------------------------- Status: Awaiting Feedback (was: In Progress) > Unable to start on IPv6-only node with local JMX > ------------------------------------------------ > > Key: CASSANDRA-12454 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12454 > Project: Cassandra > Issue Type: Bug > Environment: Ubuntu Trusty, Oracle JDK 1.8.0_102-b14, IPv6-only host > Reporter: Vadim Tsesko > Assignee: Sam Tunnicliffe > > A Cassandra node using *default* configuration is unable to start on > *IPv6-only* machine with the following error message: > {code} > ERROR [main] 2016-08-13 14:38:07,309 CassandraDaemon.java:731 - Bad URL path: > :0:0:0:0:0:1/jndi/rmi://0:0:0:0:0:0:0:1:7199/jmxrmi > {code} > The problem might be located in {{JMXServerUtils.createJMXServer()}} (I am > not sure, because there is no stack trace in {{system.log}}): > {code:java} > String urlTemplate = "service:jmx:rmi://%1$s/jndi/rmi://%1$s:%2$d/jmxrmi"; > ... > String url = String.format(urlTemplate, (serverAddress != null ? > serverAddress.getHostAddress() : "0.0.0.0"), port); > {code} > IPv6 addresses must be surrounded by square brackets when passed to > {{JMXServiceURL}}. > Disabling {{LOCAL_JMX}} mode in {{cassandra-env.sh}} (and enabling JMX > authentication) helps. -- This message was sent by Atlassian JIRA (v6.3.4#6332)