Monday, September 26, 2011

JRockit Flight Recorder Plugin for WebLogic Tab Pack behind a Proxy

This blog was originally posted on when I worked for Oracle.

One of my favorite demos to show is JRockit Flight Recorder integration with WebLogic Server and the WebLogic Server Diagnostic Framework.  It's a great way to see what's going on inside applications and the JVM without agents using out-of-the-box defaults with WebLogic Server and JRockit.  I've made video's and blog posts about it previously and we'll be happy to give you a demo of it at Oracle Open World at the JavaOne booth or the WebLogic Server booth at the Demogrounds.  JRockit Mission Control, which is used to view the JVM recordings called JFRs for JRockit Flight Recording, has some plugins that it downloads from an Eclipse Update site to get the WebLogic Server specific view.  If you're behind a firewall and need to use a proxy, there is a simple way to launch JRMC from a java command line that let's you specify the proxy host, port and other settings you might use like authentication.  So from the JRockit bin directory, this is the command that you can use to launch Mission Control and make sure you use a proxy for network connections so you can use the Update Site with the proxy you specify.  You can substitute your JROCKIT_HOME for your actual path and your actual proxy settings instead of the ones we use at Oracle.
JROCKIT_HOME/bin/java -Dhttp.proxyPort=80 -jar JROCKIT_HOME/missioncontrol/mc.jar
 Once you launch JRMC with the proxy enabled (or without the proxy settings if you do not need a proxy to access the Oracle Eclipse Update Site), you can then use the link to install the experimental plugin from the Help menu as shown below.  The one you want for sure is the WebLogic Tab Pack.