Example: Single Fault Recovery for BPMN Processes

8-36 Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite

8.5.3.2 Example: Bulk Fault Recovery for Oracle Mediator

Assume the sap directory to which to write the sender.xml payload message is again configured with read-only permissions at the operating system command prompt. Three copies of the sender.xml file are placed in the siebel directory of the service binding component for the inbound Siebel adapter. This creates three instances. chmod 000 sap cp sender.xml siebel cp sender.xml siebel cp sender.xml siebel To perform bulk fault recovery for Oracle Mediator: 1. Change the sap directory to be writable.

2. From the SOA Infrastructure menu, select Home.

3. Click the Faults and Rejected Messages tab.

4. In the search utility, enter criteria based on known fault parameters for example, the time range, composite name, and so on.

5. If the search returns too many results, limit it by selecting the Show only

recoverable faults checkbox. 6. Change the sap directory to be writable at the operating system command prompt. chmod 777 sap 7. Select all the faults to be recovered.

8. Select Retry from the Recovery Action list.

9. Select Yes when prompted to perform fault recovery.

10. Click the Audit Trail tab.

Managing SOA Composite Applications 8-37 The final message indicates that manual recovery was successful and the message payload was successfully written to the sap directory.

8.6 Recovering from SOA Composite Application Faults in the Application Home Page

You can monitor and perform individual and bulk fault recoveries in your SOA composite application. For BPEL process faults to be identified as recoverable, there must be a fault policy defined that is bound to the fault through the fault-bindings.xml file and which triggers the action ora-human-intervention. However, without defining any fault policies, the fault takes its standard course as either a recoverable or nonrecoverable fault. Human workflow faults can also be recovered, but not directly from Oracle Enterprise Manager Fusion Middleware Control. Instead, the audit trail provides a link to the Oracle BPM Worklist, from which the fault can be addressed. To recover from SOA composite application faults in the application home page: 1. Access this page through one of the following options:

2. Click the Faults and Rejected Messages tab.

The Faults and Rejected Messages page displays the following details for the selected SOA composite application: ■ A utility for searching for a specific fault by specifying criteria and clicking Search . Click the Help icon for details. ■ Faults and rejected messages in SOA composite application instances, including the error message, whether you can recover from the fault, the time of the fault, if the fault message is classified as a rejected message if so, a checkmark is displayed, the fault location, the composite instance ID, and links to log files that describe the fault. From the SOA Infrastructure Menu... From the SOA Folder in the Navigator... 1. Select Home. 2. Select Deployed Composites. 3. In the Composite section, select a specific SOA composite application. 1. Under soa-infra, select a specific SOA composite application.