JRockit - Unable To Open Memory Leak Tool or Take JRA Recordings From JRMC (Doc ID 971756.1)

Last updated on MAY 24, 2017

Applies to:

Oracle JRockit - Version: R27.6 and later   [Release: JRockit and later ]
Information in this document applies to any platform.

Symptoms

Attempting to run the memory leak detector in JRMC can result in the following exception.

Could not open Memory Leak Detector for dragonsbreath.oracle.com:27798.
java.lang.reflect.UndeclaredThrowableException: null
java.lang.reflect.UndeclaredThrowableException
at com.jrockit.mc.rjmx.proxy.internal.AbstractProxyOperations.invokeMethodWithException(AbstractProxyOperations.java:121)
at com.jrockit.mc.rjmx.proxy.internal.AbstractProxyOperations.invokeMethodWithException(AbstractProxyOperations.java:142)
at com.jrockit.mc.rjmx.proxy.internal.JMXR27Operations.startMemleakServer(JMXR27Operations.java:345)
at com.jrockit.mc.memleak.ui.RjmxMemleakEditorInput.connect(Unknown Source)
at com.jrockit.mc.memleak.ui.actions.StartMemleak$1.preConnect(Unknown Source)
at com.jrockit.mc.browser.utils.PreConnectJob.run(PreConnectJob.java:74)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: javax.management.InstanceNotFoundException: bea.jrockit.management:type=MemLeak
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1010)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1349)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1300)
at com.sun.jmx.remote.security.MBeanServerAccessController.getClassLoaderFor(MBeanServerAccessController.java:329)
at javax.management.remote.rmi.RMIConnectionImpl$4.run(RMIConnectionImpl.java:1308)
at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(RMIConnectionImpl.java:1305)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:768)
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:592)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:972)
at com.jrockit.mc.rjmx.proxy.internal.AbstractProxyOperations.invokeMethodWithException(AbstractProxyOperations.java:119)
... 6 more

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms