The timeouts should be configured based on the below condition
SyncMaxWaitTime < BPEL EJB's transaction timeout < Global Transaction Timeout
Setting the SyncMaxWaitTime :
This is the maximum time a synchronous BPEL process waits before it
times out to get the response from another BPEL or a web service.
- Login to EM console
- Expand SOA and right click on "soa-infra"
- From context menu, select SOA Administration –> BPEL properties
- Click on "More BPEL Configuration properties"
- Enter the appropriate value for the SyncMaxWaitTime
Setting the global transaction timeout at Weblogic Domain Level:
This
property controls the transaction timeout seconds for active
transactions. If the transaction is still in the "active" state after
this time, it is automatically rolled back.
- Log into Oracle Weblogic Administration Console.
- Click Services -> JTA.
- Change the value of Timeout Seconds to the required value (the default is 30).
- Click Save.
- Restart Oracle Weblogic Server.
Overriding the transaction timeout setting for BPEL EJB's:
The
timeout properties for the EJB's control the particular timeout setting
for the SOA application, overriding the global setting specified by the
JTA timeout
- Log into Oracle Weblogic Administration Console.
- Click Deployments.
- Expand soa-infra -> EJBs.
- Click
on the configuration tab for the timeout setting for each of EJB’s
listed below and the change the time out values as required.
- Following EJBs need to be updated:
BPELActivityManagerBean
BPELDeliveryBean
BPELDispatcherBean
BPELEngineBean
BPELFinderBean
BPELInstanceManagerBean
BPELProcessManagerBean
BPELSensorValuesBean
BPELServerManagerBean
- Click Save.
- Restart Oracle Weblogic Server.
|
0 comments:
Post a Comment