Skip to main content

JRockit Mission Control Console Cannot be Started

Today I had an issue that the JRockit mission control cannot be started. The problem is when trying to start mission control from windows programs, the mission control splash flashed and disappeared right away. Something is blocking the process to be started properly.

The key to this issue is to start JRockit mission control using debug command-line. From windows:

%JROCKIT_HOME%\bin\jrmc -consoleLog 2>1& | more

Here was the output I got:

Dec 25, 2010 11:07:57 PM com.jrockit.mc.rjmx.internal.RJMX initializeSettings
INFO: Reading console settings from C:\Documents and Settings\jzheng\.jrmc\4.0.1\rjmx.4.0.1.xml
Dec 25, 2010 11:07:58 PM com.jrockit.mc.rjmx.core.connections.internal.ConnectionDescriptorRepository diffAgainstConsoleModel
WARNING: Found discrepancy in Browser View - could not find 10.0.0.4:4711 in view. Removing it from the model...
!SESSION 2010-12-25 23:07:56.656
eclipse.buildId=unknown
java.version=1.6.0_20
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -consoleLog

!ENTRY org.eclipse.osgi 4 0 2010-12-25 23:07:58.188
!MESSAGE An error occurred while automatically activating bundle com.jrockit.mc.rjmx.core (79).
!STACK 0
org.osgi.framework.BundleException: Exception in com.jrockit.mc.rjmx.core.RJMXPlugin.start() of bundle com.jrockit.mc.rjmx.core.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
-- More --
By checking the debug info, I can see that the console setting config xml file -- "C:\Documents and Settings\jzheng\.jrmc\4.0.1\rjmx.4.0.1.xml" is the trouble spot. After I deleted the file, the console was able to be started properly.

Comments