|
Problem(Abstract) |
Questions Related to Transaction Timeout and Transaction
Inactivity Timeout |
|
|
|
Resolving the
problem |
Q1: What are Transaction Timeout and Transaction
Inactivity Timeout?
A1: The Transaction Timeout is the number of seconds to allow a
transaction to proceed before aborting it because it is taking too much
time.
The Transaction Inactivity Timeout is the number of milliseconds a
transaction can remain inactive before it is aborted.
Q2: Are these timeout parameters cover the transaction or the life
time of the thread that uses the transaction
A2: These values cover the transaction not the thread using the
transaction's life time.
Q3: What type of exceptions are thrown, if any?
A3: TransactionRolledbackException with an event written to the
log stating that a transaction has timed out.
Q4: Are these timeouts throw an exception immediately on becoming
effective or upon some event occurring later?
A4: The exception will be thrown when the thread using the
transaction tries to do something with the transction, not when the
transaction timeout timer fires. |
|
|
|
|
Cross Reference information |
Segment |
Product |
Component |
Platform |
Version |
Edition |
Application Servers |
Runtimes for Java Technology |
Java SDK |
|
|
|
|
|
|