Garland Hepworth asked 3 years ago
Title : How to Enable Trace Logging?

Question :

How to Enable Trace Logging?

1 Answers
ParwezParwez Staff answered 2 years ago

A soa composite flow trace may not be enabled by default and to see audit details, flow trace is required. 

A BPEL instance when  opened in the EM console may not have hyperlink to click on to view the audit /flow of that service. The audit level in the soa_infra is set to “Development” and still it doesn’t help. It is because the flow trace is not enabled. Follow the below steps to achieve the same.

Steps to enable the Audit Trail for a composite.

1. Go to Enterprise Manager (EM) control => “SOA” => “soa-infra(soa_server1)”
2. Right Click and go to“Administration” => “System MBean Browser”
3. Drill down to “Application Defined MBeans” > “oracle.soa.config” > “Server: soa_server1” => “SCAComposite”
4. Expand the required composite
5. Go to “SCAComposite.SCAComponent” and drill down to the component
6. On the right hand side go to the “Attributes” tab
7. Click on the “Properties” link
8. Expand Element 2(bpel.config.inMemoryOptimization) & 3(bpel.config.completionPersistPolicy) and modify the values as follows.
  8.1. “bpel.config.inMemoryOptimization” value from “true” to “false”
  8.2. “bpel.config.completionPersistPolicy” value from “fault” to “on”
9. Click on “Apply” button.
10. Go to the “Operations” tab.
11. Click on “Save”
12. Click on the “Invoke” button.

Repeat steps 4 to 12 to enable the Audit trail for any other composite.

This action can be overwritted when the composite is redeployed, to avoid this check the following configuration in the composite.xml file of the composite:

*** In this case we will use ProcessFulfillmentOrderBillingBRMCommsAddSubProcessProcess proccess as example

    <component name=”ProcessFulfillmentOrderBillingBRMCommsAddSubProcessProcess”>
        <implementation.bpel src=”ProcessFulfillmentOrderBillingBRMCommsAddSubProcessProcess.bpel”/>
        <property name=”bpel.config.oneWayDeliveryPolicy”>sync</property>
        <property name=”bpel.config.transaction”>required</property>                
        <property name=”bpel.config.inMemoryOptimization”>true</property>
        <property name=”bpel.config.completionPersistPolicy”>faulted</property>

Properties “bpel.config.inMemoryOptimization” and “bpel.config.completionPersistPolicy” are being overwritted here. To avoid this comment out this properties lines or set the values as steps 10 above.


Cubastion is among a very small number of specialized Siebel CRM Oracle Gold Partners in SME.