WebLogic Server doesn't roll back the transaction within the specified timeout value.
(Doc ID 1128742.1)
Last updated on AUGUST 25, 2020
Applies to:
Oracle WebLogic Server - Version 8.1 to 10.3.3Information in this document applies to any platform.
Goal
WebLogic Server doesn't roll back an EJB's container-initiated transactions, after timeout (specified in weblogic-ejb-jar.xml file) in trans-timeout-seconds parameter.
Steps to reproduce the problem:
1. Lock Oracle DB table or record.
2. Perform EJB transaction that tries to get data from table that is locked.
3. Wait for time that exceeds EJB timeout.
4. Unlock DB table (record)
The rolled back exception will be seen in WebLogic stdout with time specified in weblogic-ejb-jar.xml file.
Example:
1. Specified time-out is 75 sec.
<trans-timeout-seconds>75</trans-timeout-seconds>
2. Perform EJB transaction that tries to access the locked DB record. Wait for 500seconds. No exceptions logged in WebLogic logs.
3. Unlock the DB record after 500 seconds. There is an exception in WebLogic log: “TransactionRolledBack exception … after 75 seconds”.
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |