This discussion is archived
2 Replies Latest reply: Feb 8, 2013 5:31 AM by the_assface RSS

4.1 JRMC - No local

the_assface Explorer
Currently Being Moderated
I updated my JRockit to 28.2.5 and my JVM started fine (uses node manager). However, when I go to JRMC console it sees the Mission Control console itself under "local" but sees no local JVM listed, which according to the instructions it should. If I try to make a connection under "connectors" and I hit "test connection", I get a very useful message back that says "unable to connect". Wow. Thanks. If I click the "FAQ button for common connection problems" link below the test button I get a useless suggestion to "Ensure that you are using JROCKIT_HOME/bin/jrmc to start the JRockit Mission Control Client". Yeah, thanks. It's the only I have.....

Any ideas? Does this work with a server that uses node manager? I have points and will award them
  • 1. Re: 4.1 JRMC - No local
    the_assface Explorer
    Currently Being Moderated
    I found details of the connection issue....does this shed any light on the issue? Thanks

    Could not open Management Console for localhost:7011.
    com.jrockit.mc.rjmx.ConnectionException: 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]
    com.jrockit.mc.rjmx.ConnectionException: 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 com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:64)
         at com.jrockit.mc.console.ui.handlers.StartConsoleHandler$1.preConnect(StartConsoleHandler.java:38)
         at com.jrockit.mc.browser.utils.PreConnectJob.run(PreConnectJob.java:75)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: 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:338)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:652)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:613)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:582)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:188)
         at com.jrockit.mc.rjmx.internal.DefaultConnectionHandle.establishConnection(DefaultConnectionHandle.java:92)
         at com.jrockit.mc.rjmx.internal.DefaultConnectionHandle.connect(DefaultConnectionHandle.java:116)
         at com.jrockit.mc.rjmx.ConnectionManager.innerConnect(ConnectionManager.java:91)
         at com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:62)
         ... 3 more
    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:101)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:255)
         ... 11 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:286)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:97)
         at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:185)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1886)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1856)
         at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:255)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:653)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:613)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:582)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:189)
         at com.jrockit.mc.rjmx.internal.DefaultConnectionHandle.establishConnection(DefaultConnectionHandle.java:92)
         at com.jrockit.mc.rjmx.internal.DefaultConnectionHandle.connect(DefaultConnectionHandle.java:117)
         ... 5 more
    Caused by: java.io.EOFException
         at java.io.DataInputStream.readByte(DataInputStream.java:250
  • 2. Re: 4.1 JRMC - No local
    the_assface Explorer
    Currently Being Moderated
    Here is how this was fixed, in the event someone has this same issue in the future....

    Added this to the server startup arguments---

    -Djava.rmi.server.hostname=dxxx(hostname)
    -Xmanagement:ssl=false,authenticate=false,autodiscovery=true

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points