WLST Commands for Diagnostic Framework ADCRI Command-Line Utility

13-10 Oracle Fusion Middleware Administrators Guide The following example shows how to configure these settings using the Fusion Middleware Control System MBean Browser: 1. From the target navigation pane, expand the farm, then WebLogic Domain. 2. Select the domain. 3. From the WebLogic Domain menu, choose System MBean Browser. The System MBean Browser page is displayed. 4. Expand Application Defined Beans, then oracle.dfw, then domain.domain_ name, then dfw.jmx.DiagnosticsConfigMBean. 5. Select one of the DiagnosticConfig entries. There is one DiagnosticConfig entry for each server. 6. In the Application Defined MBean pane, expand Show MBean Information to see the server name. The following shows the System MBean Browser page: reservedMemoryKB The amount of reserved memory that is released when OutOfMemoryError is detected. When the Diagnostic Framework starts, it allocates 512 KB of memory for its own private use. When the Diagnostic Framework detects that an OutOfMemoryError has occurred in the server, it frees that block of memory and proceeds to create the incident. The default is 512 KB. uncaughtExceptionDetectionEnabled Enables the Java-based uncaught exception handler. When enabled and an uncaught exception is detected, an incident is created. Specify true for enabled or false for disabled. The default is true. useExternalCommands Indicates whether external JVM commands should be used to perform thread dumps. Specify true for enabled or false for disabled. The default is true. Table 13–1 Cont. DiagnosticConfig MBean Parameters for Diagnostic Framework Parameter Description Diagnosing Problems 13-11 7. To change the values for the attributes listed in Table 13–1 , enter or select the value in the Value field. 8. Click Apply.

13.3.2 Configuring WLDF Watch and Notification for the Diagnostic Framework

Fusion Middleware configures a WLDF Diagnostics Module that contains a set of Watch and Notification rules for detecting a specific set of critical errors and creating an incident for each occurrence of those errors. The module is called Module-FMWDFW and contains the following set of Watch conditions: The Diagnostic Module also includes a configured WLDF JMX Notification FMWDFW-notification of type oracle.dfw.wldfnotification. You can reuse this WLDF JMX Notification for your own WLDF Watch conditions to create an incident: 1. Display the Administration Console, as described in Section 3.4.1 . Name Description Deadlock Two or more Java threads have circular lock chains among their Java Monitor object usage. StuckThread An Oracle WebLogic Server ExecuteThread, which is blocked or busy for more than the time specified by the Oracle WebLogic Server StuckThreadMaxTime parameter. UncheckedException This category includes all Unchecked Exception, RuntimeException, and Errors caught by the Oracle WebLogic Server ExecuteThread, such as NullPointerException, StackOverflowError, or OutOfMemoryError.