I'm not sure. Are you runing it in the same host as the cassandra node?
El mar, 12-04-2011 a las 22:54 +0500, Ali Ahsan escribió:
> On 04/12/2011 10:42 PM, Héctor Izquierdo Seliva wrote:
> >
> > I forgot to mention it has been coded against 0.7.x, and I'm not sure it
> > will work on 0.6.x. I'll try to add support for both 0.6.x and the new
> > 0.8.x version as soon as possible.
> >
>
>
> I think these error is because of 0.6.3 ?
>
>
>
> xception in thread "main" java.io.IOException: Failed to retrieve
> RMIServer stub: javax.naming.CommunicationException [Root exception is
> java.rmi.ConnectIOException: error during JRMP connection establishment;
> nested exception is:
> java.io.EOFException]
> at
> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:342)
> at
> javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:267)
> at
> com.google.code.scm.CassandraMonitoring.start(CassandraMonitoring.java:58)
> at
> com.google.code.scm.CassandraMonitoring.main(CassandraMonitoring.java:190)
> Caused by: javax.naming.CommunicationException [Root exception is
> java.rmi.ConnectIOException: error during JRMP connection establishment;
> nested exception is:
> java.io.EOFException]
> at
> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:118)
> at
> com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:203)
> at javax.naming.InitialContext.lookup(InitialContext.java:409)
> at
> javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1902)
> at
> javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1871)
> at
> javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:276)
> ... 3 more
> Caused by: java.rmi.ConnectIOException: error during JRMP connection
> establishment; nested exception is:
> java.io.EOFException
> at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:304)
> at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:340)
> at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
> at
> com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:114)
> ... 8 more
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readByte(DataInputStream.java:267)
> at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:246)
> ... 12 more
>
>