-
1. Re: xa-datasource timeout transaction configuration
wdfink Jun 25, 2014 5:01 PM (in response to rsoleto)1 of 1 people found this helpfulWhat is the purpose for different timeouts? If both are in the same transaction the Tx fails if you reach the smallest timeout
-
2. Re: xa-datasource timeout transaction configuration
rsoleto Jun 26, 2014 12:39 PM (in response to wdfink)When I set timeout in transaction-jboss-beans.xml and transaction reach the timeout fail. However I want a specific less timeout for one of both xa-datasource. In transaction-jboss-beans.xml there are a timeout for 300 seconds (5 minutes) but in xa-datasource I need less timeout like 100 seconds because it is an external database and I want to prevent malfunctions or it has too much data. I can't change timeout in transaction-jboss-beans.xml because other datasource need 300 seconds.
Thanks for your reply.
-
3. Re: xa-datasource timeout transaction configuration
aida.sp Aug 7, 2014 2:57 AM (in response to rsoleto)Hi,
I have a similar scenary, I read data from different data bases and one of them belongs to a third party. The reads from this database must be fast and we would like to set a short timeout when we read from it, if it is possible to configure this instead of setting it using code (maybe with some jpa property) it would be wonderful.
Did you find a solution for this?
Thanks in advance
-
4. Re: xa-datasource timeout transaction configuration
rsoleto Aug 7, 2014 8:01 AM (in response to aida.sp)Hi aida.sp,
Thanks for your interest but I haven't found a solution yet. All my attemps fail