-
1. Re: JBAS-2565 - Use TransactionManager timeout as default
adrian.brock Feb 17, 2006 5:09 AM (in response to starksm64)Maybe. But I don't understand how it is possible in general with
XAResources supporting transaction interleaving - multiple transactions
linked to XAResource (only one active).
e.g.
Tx1: start
Tx1: end
Tx2: start
Tx2: end
Tx1: commit
Which timeout should be used and when? What are the affects?
This ain't in the spec. -
2. Re: JBAS-2565 - Use TransactionManager timeout as default
jahlborn Feb 17, 2006 9:35 AM (in response to starksm64)i was thinking of a much simpler fix than this. i was thinking purely at the configuration level. when you configure an xa-datasource, you can (now) alter the xaresource timeout. however, if you leave the config setting out, a default (5 min or something) is used. however, our application has long running transactions, so our transaction manager configuration timeout is very long. this turned out to be meaningless because the xaresource timeout was very low. all i was asking for in the bug report was that when the xa-datasource is configured, if it has no explicit xa-resource-timeout value in the config file, then it should use the transactionmanager timeout for it's default. i realize that the actual timeouts can very at runtime due to tweaking other values, however i'm just referring to the initial values.
-
3. Re: JBAS-2565 - Use TransactionManager timeout as default
adrian.brock Mar 2, 2006 8:27 AM (in response to starksm64)That can be done with a system property reference in the configuration(s).