My Oracle Support Banner

JRMC console with WLS server in OEPE fails with java.lang.NoClassDefFoundError: javax/rmi/PortableRemoteObject (Doc ID 1322779.1)

Last updated on MARCH 09, 2019

Applies to:

Oracle Enterprise Pack for Eclipse - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

In OEPE 11.1.1.6, after creating and starting Weblogic server running on JRockit, you will notice that on trying to start the JRMC console with WLS server defined in the IDE (in order to observe the memory statistics), you will notice a PortableRemoteObjectPortableRemoteObject exception as below:


!MESSAGE An internal error occurred during: "Console - [1.6] WebLogic Server(344)".
!STACK 0
java.lang.NoClassDefFoundError: javax/rmi/PortableRemoteObjectPortableRemoteObject
at javax.management.remote.rmi.RMIConnector.findRMIServerJRMP(RMIConnector.java:1944)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1858)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:257)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:227)
at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:593)
at com.jrockit.mc.rjmx.internal.RJMXConnection.establishConnection(RJMXConnection.java:561)
at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:545)
at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:145)
at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:114)
at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:157)
at com.jrockit.mc.rjmx.ConnectionManager.innerConnect(ConnectionManager.java:95)
at com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:61)
at com.jrockit.mc.console.ui.actions.StartConsole$1.preConnect(StartConsole.java:39)
at com.jrockit.mc.browser.utils.PreConnectJob.run(PreConnectJob.java:74)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Note: Screen-shots are attached for article.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.