[
http://jira.jboss.com/jira/browse/JBAS-3399?page=comments#action_12343798 ]
tbech commented on JBAS-3399:
-----------------------------
There is no need to use JBossTM, it is already implemented in standard JTA. In fact it
just appeared in 4.0.3, but the main documenation is not up to date. Finally found this:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources.
<set-tx-query-timeout> - whether to enable query timeout based on the length of time
remaining until the transaction times out (default false - NOTE: This was NOT ported to
4.0.x until 4.0.3)
Sorry that I didn't use forum before.
Transaction timeout fires too late
----------------------------------
Key: JBAS-3399
URL:
http://jira.jboss.com/jira/browse/JBAS-3399
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Transaction Manager
Affects Versions: JBossAS-4.0.3 SP1
Reporter: tbech
Priority: Minor
Transaction timeout is fired in the 'commit' probably. It is far too late in
order to really limit the transaction.
Scenario:
- do long job in transaction (CMT);
- job is finished;
- commit;
- timeout exception is thrown;
Doesn't matter what timeout is set, server does whole job (few hours even) and at the
end throws exception. Shouldn't container:
a) throw an error after timeout
b) stop the called EJB method ???
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira