Tuesday, August 29, 2017

SOA 11g Transaction timing configuration

Reference taken from other blog. at ( http://soadiscovery.blogspot.in/2011/04/soa-11g-configuring-transaction-timeout.html )

We have set our environment with below values and worked fine.

The gist of the blog the following value should be set (SyncMaxWaitTime < BPEL EJB's transaction timeout < Global Transaction)

SyncMaxWaitTime à300

All the EJB Beans values à 1200

JTA (Global Transaction Timeout)à1800


================================================================

SOA 11g : Configuring Transaction timeout in BPEL
Transaction timeout can be configured for BPEL in 11g using the below properties.
1. SyncMaxWaitTime
Maximum time BPEL process wait before returning result to client(or another Sync process)
To set this property
a. Login to EM console
b. Expand SOA and right click on “soa-infra”
c. From context menu, select SOA Administration –> BPEL properties
d. Click on “More BPEL Configuration properties…”
 SyncMaxWaitTime
 2.Transaction Time-out for BPEL EJB’s
The following EJB’s need to be configured for transaction time outs.
  • BPELActivityManagerBean
  • BPELDeliveryBean
  • BPELDispatcherBean
  • BPELEngineBean
  • BPELFinderBean
  • BPELInstanceManagerBean
  • BPELProcessManagerBean
  • BPELSensorValuesBean
  • BPELServerManagerBean
To change time out for these beans ,
a. Login to Administration Console
b. Click on Deployments
c. Expand soa-infra –> EJB’s
Transaction-EJB1of3 Transaction-EJB2of3
d. Click on EJB for which you want to change the timeout
e. Click on Configuration
f. Change value for field “Transacion Timeout”
g. Click Save.
Transaction-EJB3of3
 3. Global Transaction Timeout
This property is timeout in seconds for active transactions. After this time, if the transaction is still “Active”, then it gets rolled back.
To change this value
a. Login to Administration Console
b. Expand “Services” –> Click on “JTA”
c. Click on “JTA” tab if it’s on a different tab
d. Change value for field “Timeout Seconds”
GlobalTransactionTimeout
Very Important :
SyncMaxWaitTime < BPEL EJB's transaction timeout <  Global Transaction Timeout