3 Replies Latest reply on Feb 8, 2013 1:30 PM by the_assface

    JRockit Mission Control

    the_assface
      I have installed the latest 28.2.5 JRockit on my local environment (WLP 10.3.2) and JRMC fires up fine but does not see any JVM's under the 'local' folder, other than "This Mission Control". If I try to map to one under 'connectors', it says it is unable to connect, even though the JVM is running and is local. Any ideas?
        • 1. Re: JRockit Mission Control
          the_assface
          Nothing? Is this the right forum for this question?

          Thanks
          • 2. Re: JRockit Mission Control
            the_assface
            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
            • 3. Re: JRockit Mission Control
              the_assface
              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