Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jmx open failure, can you elucidate? #79

Open
kellyschoenhofen opened this issue Mar 2, 2020 · 0 comments
Open

jmx open failure, can you elucidate? #79

kellyschoenhofen opened this issue Mar 2, 2020 · 0 comments

Comments

@kellyschoenhofen
Copy link

I'm troubleshooting some Cassandra issues and I've narrowed it down to some oddness around jmx being accessed externally (externally from the server). Using jmxterm, I can connect locally on a Cassandra host, but cannot fully connect remotely to the other nodes in the cluster. Can you shed some light on what this connection error would mean? My best guess is the random ephemeral port the connection switches to after the initial connection is made is failing, but I can't see how. See log below - first connection is the local host, second connection is the host right next to it.

$ java -jar jmxterm-1.0.1-uber.jar -v verbose Welcome to JMX terminal. Type "help" for available commands. $>open 10.148.20.31:7199 #Connection to 10.148.20.31:7199 is opened $>close #disconnected $>open 10.148.20.32:7199 org.cyclopsgroup.jmxterm.io.RuntimeIOException: Runtime IO exception: no such object in table at org.cyclopsgroup.jmxterm.cc.CommandCenter.doExecute(CommandCenter.java:144) at org.cyclopsgroup.jmxterm.cc.CommandCenter.execute(CommandCenter.java:184) at org.cyclopsgroup.jmxterm.boot.CliMain.execute(CliMain.java:141) at org.cyclopsgroup.jmxterm.boot.CliMain.main(CliMain.java:41) Caused by: java.rmi.NoSuchObjectException: no such object in table at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:303) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:279) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:164) at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:235) at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:180) at com.sun.proxy.$Proxy8.newClient(Unknown Source) at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2430) at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:308) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270) at org.cyclopsgroup.jmxterm.cc.SessionImpl.doConnect(SessionImpl.java:64) at org.cyclopsgroup.jmxterm.cc.SessionImpl.connect(SessionImpl.java:39) at org.cyclopsgroup.jmxterm.cmd.OpenCommand.execute(OpenCommand.java:60) at org.cyclopsgroup.jmxterm.cc.CommandCenter.doExecute(CommandCenter.java:169) at org.cyclopsgroup.jmxterm.cc.CommandCenter.doExecute(CommandCenter.java:142) ... 3 more $>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant