|
| 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. | |
| | |
| |
|
Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Java 2 Connectivity (J2C) Operating system(s): Multi-Platform Software version: 3.5, 4.0, 5.0, 5.1, 6.0 Reference #: 1063539 IBM Group: Software Group Modified date: 2002-08-27
(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.
|