Saturday, December 25, 2010

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 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 diffAgainstConsoleModel
WARNING: Found discrepancy in Browser View - could not find in view. Removing it from the model...
!SESSION 2010-12-25 23:07:56.656
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 (79).
org.osgi.framework.BundleException: Exception in of bundle
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(
-- 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.

No comments: