Flow Traces for Composite-to-Composite Invocations on Multiple Servers Monitoring BPEL 2.0 Activities in the Audit Trail and Process Flow

Monitoring BPEL Process Service Components and Engines 12-15 ■ A graphical representation of the number of successful, faulted, and incoming pending instances of the BPEL process service component over a specific time range. Click Table View to display throughput details for the last five minutes, including the throughput for successful instances, the total faults throughput, and the instance throughput. For more information, see Section 1.2.3, Introduction to SOA Composite Application Instances and Oracle Fusion Middleware Administrators Guide for details about viewing and searching log files.

12.3 Monitoring BPEL Process Service Component Instances

You can monitor BPEL 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 BPEL process service component instances: 1. Access this page through one of the following options:

2. Select the BPEL process service component in the Component Metrics section.

3. Click Instances.

The Instances page displays the following details: ■ A utility for searching for a specific BPEL service component instance by specifying criteria and clicking Search. ■ BPEL 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. 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. 12-16 Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite

4. In the Instance ID column, click an instance ID for a service component to view its

audit trail, process flow, sensor values, and faults.

5. In the Logs column, click a specific log to access the Log Messages page with

filtered messages specific to that instance. For more information, see Section 1.2.3, Introduction to SOA Composite Application Instances.

12.4 Monitoring Sensor Data and Values in BPEL Process Service Components

You can view the fault, activity, and variable sensor data of a BPEL process service component. You design sensors in BPEL processes and trackable fields in Oracle JDeveloper. Sensors enable you to monitor BPEL process activities, variables, and faults during runtime. To monitor sensor data and values in BPEL process service components: 1. Access this page through one of the following options: 2. Use one of the following methods to select an instance of the application: ■ For recent instances of this application, click the instance number of an instance in the Instance ID column of the Recent Instances section. 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 BPEL Process Service Components and Engines 12-17 ■ For all instances of this application, click the Instances tab, then click a specific instance in the Instance ID column. The Flow Trace page appears.

3. Click a specific BPEL process service component in the Instance column of the

Trace section.

4. Click the Sensor Values tab.

5. Select a sensor to view details. If you created JMS sensors in your BPEL process, JMS sensor values are not displayed in Oracle Enterprise Manager Fusion Middleware Control. Only sensor values in which the sensor action is to store the values in the database appear for example, database sensor values. For more information about sensors, see Oracle Fusion Middleware Developers Guide for Oracle SOA Suite.

12.4.1 Behavior of Activity Sensors in Compensate and CompensateScope Activities in BPEL 2.0

Assume you have an activity sensor in a BPEL 2.0 compensateScope activity with the evaluation time set to completion and have also configured the activitys variable sensor to point to a variable. You may expect that when the sensor is triggered, the compensation activity completes and the variable shows the state that it is in at the completion of the compensation activities. However, note that the compensateScope activity and also a compensate activity ends immediately after passing control to the compensation activities. As a result, the 12-18 Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite activitys variable sensor shows the state that it is in at the beginning of the compensation activities, rather than at the end. This is the expected behavior. As a workaround for obtaining the variable state upon completion of compensation, add an empty activity after the compensate or compensateScope activity and set the activity sensor on the empty activity with an evaluation time set to activation.

12.5 Monitoring BPEL Process Service Engine Instances and Faults

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

2. Click Dashboard.

The upper part of the Dashboard page displays recent instances of all BPEL process service components running in the BPEL 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.

3. In the Recent Instances section, perform the following monitoring tasks:

a. In the Instance ID column, click an instance ID for a service component to

view its audit trail, process flow, sensor values, and faults.

b. In the Component column, click a specific service component to access its

home page.

c. In the Composite column, click a specific SOA composite application to access

its home page. From the SOA Infrastructure Menu... From the SOA Folder in the Navigator... 1. Select Service Engines BPEL. 1. Right-click soa-infra. 2. Select Service Engines BPEL.