I am getting the following exception when connecting to an existing Cassandra instance
Caused by: javax.management.InstanceNotFoundException: org.apache.cassandra.service:type=StorageService
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Unknown Source) ~[na:1.6.0_31]
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(Unknown Source) ~[na:1.6.0_31]
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(Unknown Source) ~[na:1.6.0_31]
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source) ~[na:1.6.0_31]
at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source) ~[na:1.6.0_31]
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source) ~[na:1.6.0_31]
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source) ~[na:1.6.0_31]
at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(Unknown Source) ~[na:1.6.0_31]
at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_31]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.transport.Transport$1.run(Unknown Source) ~[na:1.6.0_31]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.6.0_31]
at sun.rmi.transport.Transport.serviceCall(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) ~[na:1.6.0_31]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) ~[na:1.6.0_31]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:1.6.0_31]
at java.lang.Thread.run(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.server.UnicastRef.invoke(Unknown Source) ~[na:1.6.0_31]
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source) ~[na:na]
at javax.management.remote.rmi.RMIConnectionImpl_Stub.getAttribute(Unknown Source) ~[na:1.6.0_31]
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttribute(Unknown Source) ~[na:1.6.0_31]
at javax.management.MBeanServerInvocationHandler.invoke(Unknown Source) ~[na:1.6.0_31]
... 45 common frames omitted
I am getting the following exception when connecting to an existing Cassandra instance
Caused by: javax.management.InstanceNotFoundException: org.apache.cassandra.service:type=StorageService
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Unknown Source) ~[na:1.6.0_31]
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(Unknown Source) ~[na:1.6.0_31]
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(Unknown Source) ~[na:1.6.0_31]
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source) ~[na:1.6.0_31]
at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source) ~[na:1.6.0_31]
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source) ~[na:1.6.0_31]
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source) ~[na:1.6.0_31]
at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(Unknown Source) ~[na:1.6.0_31]
at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_31]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.transport.Transport$1.run(Unknown Source) ~[na:1.6.0_31]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.6.0_31]
at sun.rmi.transport.Transport.serviceCall(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) ~[na:1.6.0_31]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) ~[na:1.6.0_31]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:1.6.0_31]
at java.lang.Thread.run(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) ~[na:1.6.0_31]
at sun.rmi.server.UnicastRef.invoke(Unknown Source) ~[na:1.6.0_31]
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source) ~[na:na]
at javax.management.remote.rmi.RMIConnectionImpl_Stub.getAttribute(Unknown Source) ~[na:1.6.0_31]
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttribute(Unknown Source) ~[na:1.6.0_31]
at javax.management.MBeanServerInvocationHandler.invoke(Unknown Source) ~[na:1.6.0_31]
... 45 common frames omitted