Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6347571

JConsole fails to connect to 1.4.2 VMs

    Details

    • Subcomponent:
    • Resolved In Build:
      b63
    • CPU:
      generic
    • OS:
      generic

      Description

      JConsole fails to connect to a 1.4.2 VM by specifying a JMXServiceURL and got the following exception.

      Exception in thread "JConsole.addUrl" java.lang.IllegalArgumentException: java.lang:type=Runtime not found in the connection.
              at java.lang.management.ManagementFactory.newPlatformMXBeanProxy(ManagementFactory.java:629)
              at sun.tools.jconsole.ProxyClient.getRuntimeMXBean(ProxyClient.java:466)
              at sun.tools.jconsole.ProxyClient.connect(ProxyClient.java:121)
              at sun.tools.jconsole.ProxyClient.<init>(ProxyClient.java:87)
              at sun.tools.jconsole.ProxyClient.getProxyClient(ProxyClient.java:173)
              at sun.tools.jconsole.JConsole$2.run(JConsole.java:404)
      Caused by: javax.management.InstanceNotFoundException: java.lang:type=Runtime
              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1011)
              at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.isInstanceOf(DefaultMBeanServerInterceptor.java:1323)
              at com.sun.jmx.mbeanserver.JmxMBeanServer.isInstanceOf(JmxMBeanServer.java:1081)
              at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1405)
              at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:82)
              at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1246)
              at java.security.AccessController.doPrivileged(Native Method)
              at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1340)
              at javax.management.remote.rmi.RMIConnectionImpl.isInstanceOf(RMIConnectionImpl.java:893)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
              at sun.rmi.transport.Transport$1.run(Transport.java:148)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
              at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
              at java.lang.Thread.run(Thread.java:534)
              at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
              at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
              at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
              at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
              at javax.management.remote.rmi.RMIConnectionImpl_Stub.isInstanceOf(Unknown Source)
              at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.isInstanceOf(RMIConnector.java:1058)
              at java.lang.management.ManagementFactory.newPlatformMXBeanProxy(ManagementFactory.java:616)
              ... 5 more

        Attachments

          Activity

            People

            • Assignee:
              mchung Mandy Chung
              Reporter:
              mchung Mandy Chung
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: