We do this directly in the config files; make sure your admin server and managed servers are down.
At Weblogic level:
Set the global transaction JTA to 3600 seconds, be default it is 40 sec:
$DOMAIN_HOME/soa_domain/config/config.xml ... <timeout-seconds>3600</timeout-seconds> ...At SOA 11g - BPEL level: Set the sync wait time of synchrounouse processed to 120 seconds (45 by default). In the first 11g release this can be done via the file, since patch set #1 this can be done via EM going to the BPEL Manager properties.
$DOMAIN_HOME/soa_domain/config/soa-infra/configuration/bpel-config.xml ... <syncMaxWaitTime>120</syncMaxWaitTime> ...The following EJB needs to be extended on their time out. This can be done in via Enterprise Manager.
Note, that the first time it will ask you to create a Plan.xml file.
Make sure that this Plan.xml is stored in his own directory, for example: $WLS_DOMAIN/soa_domain/plan/ejb
- Log into Oracle WebLogic Administration Console.
- Click Deployments.
- Expand soa-infra -> EJBs.
- You can check in the config tab for the timeout setting in the BPEL* EJBs:
- Click Save.
- Update the soa-infra application
- Restart Oracle WebLogic Server.