2014. 10. 20. 17:07

Transaction timeout can be configured for BPEL in 11g using the below properties.

※ JDeveloper Setting : Windows - Preferences - SOA - C:\Oracle\MiddleWare2\jdeveloper\lib\aia.jar

 

1. SyncMaxWaitTime

Description : The maximum time a request/response operation will take before ti times out. The default value is 45 seconds.

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

 

Restart Weblogic server .

Posted by 아도니우스