Transaction Timeout and Transaction Inactivity Timeout
 Technote (FAQ)
 
Problem
Questions Related to Transaction Timeout and Transaction Inactivity Timeout
 
Solution
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.
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java 2 Connectivity (J2C)
Operating system(s): HP-UX
Software version: 4.0
Software edition:
Reference #: 1063539
IBM Group: Software Group
Modified date: Aug 27, 2002