Setting the transaction timeout
 Technote (troubleshooting)
 
Problem(Abstract)
You can set the transaction timeout in your application code or through the administrative console. However, if the transaction timeout is set in both places, which value is adopted?
 
Cause
You can set the transaction timeout in two locations:
 
Resolving the problem
The UserTransaction.setTransactionTimeout() method modifies the timeout value that is associated with the transactions started by the current thread with the begin method. If an application has not called this method, the transaction service uses the default value for the transaction timeout (Total transaction lifetime timeout). If the value used in setTransactionTimeout() is 0 (zero), the transaction service restores the default value.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java Transaction Service (JTS)
Operating system(s): Windows
Software version: 5.1.1
Software edition:
Reference #: 1166593
IBM Group: Software Group
Modified date: Apr 21, 2004