How the Diagnostic Framework Works

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. 13-12 Oracle Fusion Middleware Administrators Guide 2. In the Change Center, click Lock Edit. 3. In the left pane, expand Diagnostics and select Diagnostic Modules. The Summary of Diagnostic Modules page is displayed. 4. Click Module-FMWDFW. The Settings for Module-FMWDFW page is displayed. 5. Select the Watches and Notifications tab, which is shown in the following figure: 6. Select the Watches tab and click New. The Create Watch page is displayed. 7. For Name, enter a name for the watch. 8. For Watch Type, select a type. 9. Click Next. 10. For Current Watch Rule, construct an expression. For example, SEVERITY = Error AND MSGID = BEA-000337. 11. Click Next. 12. Select an alarm type and click NEXT. 13. For Notifications, select FMWDFW-notification and move it to the Chosen box. 14. Click Finish. Diagnosing Problems 13-13 For more information on creating watches, see Construct watch rule expressions in the Administration Console Online Help.

13.4 Investigating, Reporting, and Solving a Problem

This section describes how to use WLST and ADRCI commands to investigate and report a problem critical error, and in some cases, resolve the problem. The section begins with a roadmap that summarizes the typical set of tasks that you must perform. It describes the following topics: ■ Roadmap—Investigating, Reporting, and Resolving a Problem ■ Viewing Problems and Incidents ■ Working with Diagnostic Dumps ■ Managing Incidents

13.4.1 Roadmap—Investigating, Reporting, and Resolving a Problem

Typically, investigating, reporting, and resolving a problem begins with a critical error. This section provides an overview of that workflow. Figure 13–4 illustrates the tasks that you complete to investigate, report, and resolve a problem.