In Weblogic admin console, under domain - configuration - jta, there are 2 parameters within others: Timeout Seconds ( doc: " The transaction timeout in seconds " ) and Abandon Timeout Seconds ( doc: " The transaction abandon timeout in seconds " ) Can anyone help me out understanding the difference between them ? Thx in advance, giselle
Timeout Seconds means "The time, in seconds, a transaction may be active before the system forces a rollback." i.e. the time web logic server allocates to each transaction for sucess or failure. Abandon Timeout Seconds means (from bea edocs)"In the two-phase commit process for distributed transactions, the transaction manager coordinates all resource managers involved in a transaction. After all resource managers vote to commit or rollback, the transaction manager notifies the resource managers to act—to either commit or rollback changes. During this second phase of the two-phase commit process, the transaction manager will continue to try to complete the transaction until all resource managers indicate that the transaction is completed. Using the AbandonTimeoutSeconds attribute, you can set the maximum time, in seconds, that a transaction manager will persist in attempting to complete a transaction during the second phase of the commit protocol. The default value is 86400 seconds, or 24 hours. After the abandon transaction timer expires, no further attempt is made to resolve the transaction with any resources that are unavailable or unable to acknowledge the transaction outcome. If the transaction is in a prepared state before being abandoned, the transaction manager will roll back the transaction to release any locks held on behalf of the abandoned transaction and will write an heuristic error to the server log. HTH.
Joined: Apr 20, 2003
Hi, thanks, I had read that too. I hope Im not being too dumb, but I still dont exactly see the difference between the 2 ...