01 June 2011

Monitoring Weblogic (embedded or standalone) with JRockit's Mission Control

By embedded we mean the WLS shipped with JDeveloper.
To monitor embedded you must first start WLS with JRockit. To do this check Running embedded Weblogic with JRockit.

Locate setDomainEnv.cmd under %DOMAIN_HOME%/bin directory

Edit it by adding the following line after the initial comments:
set JAVA_OPTIONS=-Djava.rmi.server.hostname=127.0.0.1 
                                   -Xmanagement:ssl=false,authenticate=false,port=7091 %JAVA_OPTIONS%(all the aboe is 1 line)
Give java.rmi.server.hostname with the IP of the server you want to monitor.




Open Oracle JRockit Mission Control 4.0.1

Right click on the running WLS and Start Console


Where you can check various aspects of your running WLS

The more interesting things can be distilled with a recording.
Right click again and Click Start Fight Recording



Choose Template depending on what you want to record, set name and path and finally recording time.
Click ok to start
In the bottom of the Mission control is the Flight Recorder Control were you can see the progress.
When completed the recording will be something like

 Check Events. There you ll find the more info (more in a future post).

Dig more:  


No comments:

Post a Comment

You might also like:

Related Posts Plugin for WordPress, Blogger...