Publishing a Web Service to the UDDI Registry

Monitoring BPMN Process Service Components and Engines 37-5 8. Scroll through the audit trail to check for errors and expand the payload links to view their contents at a given point in the flow. When you click a payload link, the Payload XML page appears. This page shows the value of data objects which had out data association at that particular point in the process.

9. Click the Flow tab.

A flow diagram of the BPMN process activities appears. This flow diagram shows a fault highlighted in a BPMN process activity. 10. Click an activity to view the flow of the payload through the process.

11. Scroll through the flow diagram to check for errors and click the highlighted

activity to view error messages.

12. Close the window.

13. Click the Faults tab.

This page shows the error message, whether you can recover from the fault, the time at which the fault occurred, and the activity in which the fault occurred. This page displays the faults in the BPMN component instance but not the faults that occurred in a service or reference binding component. You can recover from instance faults identified as recoverable. This page lists all instance faults, recoverable or not. The component instance faults that occurred in a service or reference are not listed here. Copy If some activities are executed simultaneously—for example, on different paths in a parallel gateway—the copy keeps the number of threads used for this purpose. Note: If using Microsoft Internet Explorer, you can click Copy details to clipboard to copy the activity details to the clipboard. If using Mozilla Firefox, this link does not appear. Instead, you must manually select the text and copy and paste it to a file. Column Description 37-6 Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite This page enables you to target individual faults from which to recover, and provides a degree of fault recovery granularity not available on other pages. However, you cannot perform bulk fault recoveries on this page. To perform bulk fault recovery, use one of the following pages: ■ Faults and Rejected Messages page of a specific SOA composite application or of the SOA Infrastructure. ■ Faults page of the BPMN process service engine or of a specific BPMN process service component. 14. Select a fault for recovery that has been identified as recoverable through one of the following methods. The page refreshes to display a fault recovery section at the bottom of the page. ■ If you click a fault in the Error Message column, a popup message displays details about the fault, including the fault ID, fault time, fault location, fault type, and complete error message text. If the fault is identified as recoverable, a Recover Now button is displayed that you can click. ■ You click a fault identified as recoverable in the Recovery column. 15. Select an action from the Recovery Action list. Your selection causes additional fields to appear. For example, the following fields display if you select Rethrow.

16. Use the After Successful Retry list to select defined actions to invoke after a

successful retry. If you select a variable in the Variable list, you can edit the value in the Value text box.

17. Click the Back button of your browser to exit the flow diagram.

37.2 Monitoring BPMN Process Service Component Instances and Faults

You can monitor BPMN process service component recent instances and faults. Each service component in a SOA composite application has its own instance ID. These IDs are different from the overall instance ID of the SOA composite application of which each service component is a part. To monitor BPMN process service component instances and faults:

1. Access this page through one of the following options:

Action Description Retry Retries the instance with an option to provide a retry success action. An example of a scenario in which to use this recovery action is when the fault occurred because the service provider was not reachable due to a network error. The network error is now resolved. Abort Terminates the entire instance. Replay Replays the entire scope again in which the fault occurred. Rethrow Rethrows the current fault. BPMN fault handlers catch branches are used to handle the fault. By default, all exceptions are caught by the fault management framework unless an explicit rethrow fault policy is provided. Continue Ignores the fault and continues processing marks the faulting activity as a success. Monitoring BPMN Process Service Components and Engines 37-7

2. In the Component Metrics section, select the BPMN process service component.

3. Click Dashboard.

The upper part of the Dashboard page displays the following details: ■ Recent instances of the BPMN process service component, including the instance ID, the state of the instance for example, completed successfully or faulted, the start time, the last modification time, and logs describing the instance. ■ Recent faults in the BPMN process service component, including the error message, whether you can recover from the fault, the time at which the fault occurred, the instance ID of the BPMN service component, the BPMN activity in which the fault occurred, and logs describing the fault. ■ The average processing time for each activity in the BPMN process service component.

4. In the Recent Instances section, you can perform the following tasks:

■ View the audit trail, process flow and faults of a service component. To do this, in the Instance ID column, click the instance ID of that service component. ■ Access the Log Messages page with filtered messages specific to that instance. To do this, in the Logs column, click a specific log. ■ Access the Instances page of the service component. To do this: Click Show All below the section.

5. In the Recent Instances and Faults section, you can perform the following tasks:

From the SOA Infrastructure Menu... From the SOA Folder in the Navigator... 1. Select Home. 2. Select the Deployed Composites tab. 3. In the Composite section, select a specific SOA composite application. 1. Under soa-infra, select a specific SOA composite application. 37-8 Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite ■ Display complete information about a fault. To do this, in the Error Message column, click an error message. If the fault is identified as recoverable, you can perform fault recovery by clicking the Recover Now link. ■ Perform fault recovery at the component instance level. To do this, in the Recovery column, click a fault identified as Recoverable. ■ Access the Log Messages page with filtered messages specific to that instance. To do this, in the Logs column, click a specific log. ■ Access the Faults page of the service component. To do this, click Show All below the section. The lower part of the Dashboard page displays the following details: ■ A graphical representation of the number of successful, faulted, and incoming pending instances of the BPMN process service component over a specific time range. ■ The number of faults and message processed by any reference binding component with which this BPMN process service component communicated. For more information, see Section 1.2.3, Introduction to SOA Composite Application Instances.

37.3 Monitoring BPMN Process Service Component Instances

You can monitor BPMN process service component instances. Each service component has its own unique instance ID. This ID is in addition to the instance ID of the overall SOA composite application of which this service component is a part. To monitor BPMN process service component instances: 1. Access this page through one of the following options:

2. In the Component Metrics section, select the BPMN process service component.

3. Click the Instances tab.

From the SOA Infrastructure Menu... From the SOA Folder in the Navigator... 1. Select Home. 2. Select the Deployed Composites tab. 3. In the Composite section, select a specific SOA composite application. 1. Under soa-infra, select a specific SOA composite application. Monitoring BPMN Process Service Components and Engines 37-9 The Instances page displays the following details: ■ A utility for searching for a specific BPMN service component instance by specifying criteria and clicking Search. ■ BPMN process service component instances, including the instance ID, instance state for example, completed or faulted, instance start time, last instance modification time, and log files describing the instance. In this page, you can perform the following tasks: ■ View the audit trail, process flow, and faults of a service component. To do this, in the Instance ID column, click the instance ID for a service component. ■ Access the Log Messages page with filtered messages specific to that instance. To do this, in the Logs column, click a specific log. For more information, see Section 1.2.3, Introduction to SOA Composite Application Instances.

37.4 Monitoring BPMN Process Service Engine Instances and Faults

You can monitor instances and faults of all BPMN process service components running in the BPMN process service engine. These BPMN process service components can be part of separate SOA composite applications. To monitor BPMN process service engine instances and faults: 1. Access this page through one of the following options:

2. Click Dashboard.

From the SOA Infrastructure Menu... From the SOA Folder in the Navigator... 1. Select Service Engines BPMN. 1. Right-click soa-infra. 2. Select Service Engines BPMN. 37-10 Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite The upper part of the Dashboard page displays recent instances of all BPMN process service components running in the BPMN process service engine, including the instance ID of the service component, the service component name, the SOA composite application of which the service component is a part, the state of the instance for example, completed successfully or faulted, the instance start time, the last modification time, and logs describing the instance. The lower part of the Dashboard page displays the following details: ■ The service components running in the service engine, the SOA composite applications of the service components, the state of the applications for example, running, and the total, running, and faulted instances in the service engine. ■ The recent faults in the service engine, including the error message, whether you can recover from the fault, the time at which the fault occurred, the SOA composite application in which the fault occurred, the service component, the instance ID of the service component, the activity in which the fault occurred, and log files describing the fault.