<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: Error connection to remote JMX agent!</title>
		<link>http://www.datastax.com/support-forums/topic/error-connection-to-remote-jmx-agent</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 11:50:34 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/error-connection-to-remote-jmx-agent" rel="self" type="application/rss+xml" />

		<item>
			<title>Sven on "Error connection to remote JMX agent!"</title>
			<link>http://www.datastax.com/support-forums/topic/error-connection-to-remote-jmx-agent#post-8666</link>
			<pubDate>Fri, 25 Jan 2013 16:07:04 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">8666@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Can you ping 10.158.0.10 from all other machines? Is there a firewall set up on these machines (try turning that off if there is)? The error in the stack would indicated that your machine or port can not be reached.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DKumar on "Error connection to remote JMX agent!"</title>
			<link>http://www.datastax.com/support-forums/topic/error-connection-to-remote-jmx-agent#post-8658</link>
			<pubDate>Fri, 25 Jan 2013 09:54:41 +0000</pubDate>
			<dc:creator>DKumar</dc:creator>
			<guid isPermaLink="false">8658@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm trying to configure cassandra cluster with 3 nodes using DSE-2.1.1. After starting the cassandra in solr mode if i run the nodetool command i'm getting the below exception. &#60;/p&#62;
&#60;p&#62;I added the below entry in cassandra-evn.sh but it did not work for me.&#60;br /&#62;
JVM_OPTS=&#34;$JVM_OPTS -Djava.rmi.server.hostname=&#38;lt;hostname&#38;gt;&#34; &#60;/p&#62;
&#60;p&#62;Please help. &#60;/p&#62;
&#60;p&#62;Error connection to remote JMX agent!&#60;br /&#62;
java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: 10.158.0.10; nested exception is:&#60;br /&#62;
        java.net.NoRouteToHostException: No route to host]&#60;br /&#62;
        at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:342)&#60;br /&#62;
        at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:267)&#60;br /&#62;
        at org.apache.cassandra.tools.NodeProbe.connect(NodeProbe.java:141)&#60;br /&#62;
        at org.apache.cassandra.tools.NodeProbe.&#38;lt;init&#38;gt;(NodeProbe.java:111)&#60;br /&#62;
        at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:623)&#60;br /&#62;
Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: 10.158.0.10; nested exception is:&#60;br /&#62;
        java.net.NoRouteToHostException: No route to host]&#60;br /&#62;
        at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:118)&#60;br /&#62;
        at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:203)&#60;br /&#62;
        at javax.naming.InitialContext.lookup(InitialContext.java:409)&#60;br /&#62;
        at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1902)&#60;br /&#62;
        at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1871)&#60;br /&#62;
        at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:276)&#60;br /&#62;
        ... 4 more&#60;br /&#62;
Caused by: java.rmi.ConnectIOException: Exception creating connection to: 10.158.0.10; nested exception is:&#60;br /&#62;
        java.net.NoRouteToHostException: No route to host&#60;br /&#62;
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:632)&#60;br /&#62;
        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)&#60;br /&#62;
        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)&#60;br /&#62;
        at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:340)&#60;br /&#62;
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)&#60;br /&#62;
        at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:114)&#60;br /&#62;
        ... 9 more&#60;br /&#62;
Caused by: java.net.NoRouteToHostException: No route to host&#60;br /&#62;
        at java.net.PlainSocketImpl.socketConnect(Native Method)&#60;br /&#62;
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)&#60;br /&#62;
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193)&#60;br /&#62;
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)&#60;br /&#62;
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)&#60;br /&#62;
        at java.net.Socket.connect(Socket.java:546)&#60;br /&#62;
        at java.net.Socket.connect(Socket.java:495)&#60;br /&#62;
        at java.net.Socket.&#38;lt;init&#38;gt;(Socket.java:392)&#60;br /&#62;
        at java.net.Socket.&#38;lt;init&#38;gt;(Socket.java:206)&#60;br /&#62;
        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)&#60;br /&#62;
        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)&#60;br /&#62;
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)&#60;br /&#62;
        ... 14 more
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
