Oracle JRockit Mission Control

We want to monitor Weblogic 9.2 running Jrockit R27.3.1-1 on Red Hat Linux from Windows XP machine. Guided by Oracle JRockit Mission Control 3.0.3 tutorial I added


flag to Weblogic 9.2 start up script and restarted server. Also, I asked Unix admin to open port 7091 on Linux box, but when I try to connect with Oracle JRockit Mission Control I got an error

Could not open Management Console for servername.
java.rmi.ConnectException: Connection refused to host: N.N.N.N; nested exception is: Connection timed out: connect

Trying another approach I installed Oracle JRockit Mission Control 3.0.3 on Red Hat Linux and attempted to launch Oracle JRockit Mission Control 3.0.3 on Red Hat Linux with enabled X11 forwarding in SecureCRT and using XMing as X Window Server. So far I got only JRockit Mission Control splash screen and the following error message appeared:

foobar:/data/bea/monitoring/jrmc-3.0.3-1.5.0/bin> ./jrmc
Oct 28, 2008 9:23:45 AM com.jrockit.console.model.ConsoleModel initializeSettings
INFO: Reading console settings from /home/foobar/
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on

This issue was resolved by Unix administrator who installed fonts-xorg-base base fonts package that is required by the X Window System

Next two errors appears during launch of Mission Control Memleak and Mission Control JRA:

A license for Memory Leak Detector could not be found on the JRockit
at (1.5) weblogic.Server (16089).
Error: Can not find component Memory Leak Detector for JRockit * in the license file.
Please check for license updates.

Could not open JRA for Create JRA-recording on (1.5) weblogic.Server (16089). RuntimeException thrown in operation start
Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException:
Your license does not allow JRA to be started:
Error: Can not find component JRA for JRockit * in the license file.

The following post How to get and install a JRockit license for JRockit versions < R27.6 was helpful for resolving JRockit license issues.

1. Download the legacy license package from and unzip it somewhere.
2. Copy the file LIC-WLRT20.txt to the jre directory under the home directory of the legacy JRockit (%JROCKIT_HOME%/jre/).
Note: if this for some reason is not possible, follow the instructions here:
3. Rename the license file to license.bea.

Looks like the restart of JRockit is required to apply a new license. Finally I'm happy owner of Oracle JRockit Mission Control 3.0.3.

1 comment:

Anonymous said...

This post was helpful in troubleshooting a problem that I encountered. I encountered the licensing problem when trying to do a JRA recording. I wanted to let other people know that they might have to use a different license file LIC-JRMC30 ( to get past the licensing problem with JRockit 27.6 or lower and JRockit Mission Control 3.0.

Windows 2003
WebLogic 9.2 MP3 (32-bit)
JRockit R27.4 (1.5.0_12)

Steps after encountering the licensing error.
1. Shut down the JVM which has the Java options enabled.
2. Place the LIC-JRMC30 as license.bea. inside C:\bea\jrockit_150_12\jre
3. Restart the JVM which has the Java options enabled.
4. Perform the JRA recording inside JRMC. The key for me was to restart the JVM and have the license file already in place.

Hope this helps someone.