Applies to:
Oracle SOA Platform - Version: 11.1.1.1.0 to 11.1.1.5.0 -Goal
During runtime you may be seeing errors in the log similar to the following:The transaction was rolled back
or
Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out
The solution is typically to increase the transaction timeout for the process.
Solution
As a general rule, you should keep the following relation between the timeout parameters:
syncMaxWaitTime < BPEL EJB's transaction timeout < Global Transaction Timeout
Note: This recommendation are ONLY applicable to Sync Processes. Additionally the default Timeout setting that comes with SOA 11g installation does not comply with this rule. You might need to adjust the setting according to your particular business needs.
1. Setting syncMaxWaitTime:
This property controls the maximum time the process result receiver will wait for a result before returning for Sync processes.
For SOA 11g R1 PS1 (11.1.1.1.0 to 11.1.1.5):
* Login into EM
* Expand SOA and right click on "soa-infra" and select: SOA Administration -> BPEL Properties
* Click on "More BPEL Configuration Properties..." link
* Locate syncMaxWaitTime and change it.
-- Alternative Method -- For SOA 11g R1 (11.1.1.1.0) ONLY:
* Take backup of bpel-config.xml, located at:/user_projects/domains//config/soa-infra/configuration/.
* Open the bpel-config.xml file.
* Edit the value for the syncMaxWaitTime property.
* Save the changes.
* Restart Oracle WebLogic Server.
Note: Since 11.1.1.2, bpel-config.xml is no longer available into the file system and therefore the only chance for modification is through EM Console.
For SOA 11g R1 PS1 (11.1.1.1.0 to 11.1.1.5):
* Login into EM
* Expand SOA and right click on "soa-infra" and select: SOA Administration -> BPEL Properties
* Click on "More BPEL Configuration Properties..." link
* Locate syncMaxWaitTime and change it.
-- Alternative Method -- For SOA 11g R1 (11.1.1.1.0) ONLY:
* Take backup of bpel-config.xml, located at:
* Open the bpel-config.xml file.
* Edit the value for the syncMaxWaitTime property.
* Save the changes.
* Restart Oracle WebLogic Server.
Note: Since 11.1.1.2, bpel-config.xml is no longer available into the file system and therefore the only chance for modification is through EM Console.
2. Setting the transaction timeout for BPEL EJBs:
The timeout properties for the EJBs control the particular timeout setting for the SOA application, overriding the global setting specified by the JTA timeout (See step 3).
* Log into Oracle WebLogic Administration Console.
* Click Deployments.
* Expand soa-infra -> EJBs.
* Following EJBs need to be updated:
* Click Save.
* Save the Plan.xml to some known location
* Start SOA Managed Server
Note: Prior implement next steps, ensure to shutdown SOA managed server. Otherwise you will get errors, see following document for details Note 1271369.1
* Log into Oracle WebLogic Administration Console.
* Click Deployments.
* Expand soa-infra -> EJBs.
* Following EJBs need to be updated:
BPELActivityManagerBean* You can change the parameter in the Configuration tab for the Transaction Timeout setting.
BPELDeliveryBean
BPELDispatcherBean
BPELEngineBean
BPELFinderBean
BPELInstanceManagerBean
BPELProcessManagerBean
BPELSensorValuesBean
BPELServerManagerBean
* Click Save.
* Save the Plan.xml to some known location
* Start SOA Managed Server
3. 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 (the default is 30).
* Click Save.
* Restart Oracle WebLogic Server.
Wow its an amazing blog
ReplyDeleteOracle SOA Online Training
can i set syncMaxWaitTime from some file in soa11g ?
ReplyDeleteYalova
ReplyDeleteHatay
Muş
Bursa
Mersin
TMCW
elazığ
ReplyDeletebilecik
kilis
sakarya
yozgat
RH3U51
ankara parça eşya taşıma
ReplyDeletetakipçi satın al
antalya rent a car
antalya rent a car
ankara parça eşya taşıma
KFWV
istanbul evden eve nakliyat
ReplyDeletebalıkesir evden eve nakliyat
şırnak evden eve nakliyat
kocaeli evden eve nakliyat
bayburt evden eve nakliyat
XP8Z
185CA
ReplyDeleteBayburt Lojistik
Van Evden Eve Nakliyat
Yenimahalle Parke Ustası
Artvin Lojistik
Van Parça Eşya Taşıma
Denizli Lojistik
Kırşehir Parça Eşya Taşıma
Antep Lojistik
Burdur Evden Eve Nakliyat
265D0
ReplyDeleteTekirdağ Fayans Ustası
Coin Nedir
Osmaniye Şehir İçi Nakliyat
Çerkezköy Halı Yıkama
Çankırı Evden Eve Nakliyat
Bilecik Şehirler Arası Nakliyat
Silivri Fayans Ustası
Denizli Parça Eşya Taşıma
Malatya Lojistik
77E69
ReplyDelete%20 komisyon indirimi
5E071
ReplyDeletebinance referans kodu
AC6AB
ReplyDeleteOnlyfans Takipçi Satın Al
Onlyfans Beğeni Satın Al
Coin Para Kazanma
Pinterest Takipçi Satın Al
Tumblr Takipçi Satın Al
Bitcoin Kazanma Siteleri
Tiktok İzlenme Hilesi
Soundcloud Reposts Satın Al
Coin Kazma