WebLogic‎ > ‎

WLDF

WLDF provides a mechanism for adding diagnostic code to Oracle WebLogic Server instances and the applications running on them. Monitors, actions, context are the three key diagnostic features provided by WLDF instrumentation.

In order to configure the instrumentation, Harvester, and Watch and Notification components at the server level for the WebLogic Diagnostic Framework, First you must create a Diagnostic system module.

Troubleshooting with WLDF

In a WebLogic a domain,  suppose 10 servers, 5 servers are hosting a database intensive application. One of the clients with the IP address a.b.c.d reported that there is slow responses and timeouts. You have decided to track every request from this client as it flows within the system and instrument the methods that perform database operations only for this client.  To achieve this you need to configure Dye-injection monitor.

Consider a WebLogic instance that reports several failures with respect to multiple subsystems and applications. Logging and debugging is enabled for all the subsystems including configuring diagnostic monitors to capture diagnostic data at the both the system and application levels. If the requirement is to be able to perform the analysis in both online and offline modes, You need to configure diagnostic archive that will help you for meeting the requirement.

Installing the WLDF Console Extension


To install the WLDF in your Oracle WebLogic Console Extension:

WL_HOME=/export/home/wluser/bea/weblogic92
DOMAIN-DIR=/export/home/wluser/domains/wlscldom

cd $WL_HOME\server\lib\console-ext
 
Copy diagnostics-console-extension.jar into the DOMAIN-DIR/console-ext directory for every domain in which you want to use the Console Extension, where DOMAIN-DIR is the domain's root directory.

cd $DOMAIN-DIR/console-ext

cp WL_HOME/server/lib/console-ext/*.jar .

Restart the Administration Server for the domain where you installed the extension. The Administration Console for the domain is then deployed with the WLDF Console Extension. Now you can see the difference on the WebLogic console with WLDF tab..
 

JPS Command:

To run jps command you must setup the PATH environment variable to the following path
/export/home/wluser/bea/jdk150_10/bin

bash-3.00$ jps -l
29476 sun.tools.jps.Jps
28906 weblogic.Server

The JPS command is given in jdk1.5+ version. it is used to show the java launched process list. Here we can choose -l option that is used to show the package path for the java class.
 
Referenc Url for JPS :


Removing the WLDF Console Extension

To remove the extension:

Stop the Administration Server.
Delete the JAR file from the DOMAIN-DIR/console-ext directory and restart the Administration Server.

Comments