-
1. Re: Setting default timeout on user managed transaction
ejb3workshop Mar 15, 2010 10:25 AM (in response to ejb3workshop)I am still struggling with understanding why the transaction stopped working. I am guessing it timed out, but there are no log messages to that effect. Any suggestions what I can do to diagnose this issue further.
Thanks in advance.
-
2. Re: Setting default timeout on user managed transaction
ejb3workshop Mar 16, 2010 1:12 PM (in response to ejb3workshop)What I found after further investigation into this issue that every time this problem occurs shortly before the following messages are reported
2010-03-09 14:52:58,174 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id -3f57fdae:f7ad:4b965bf5:2855 invoked while multiple threads active within it.
2010-03-09 14:52:58,174 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.CheckedAction_2] - CheckedAction::check - atomic action -3f57fdae:f7ad:4b965bf5:2855 aborting with 1 threads active!
They seem to suggest that the same transaction is being accessed by multiple threads, however I don't do any explicit thread creation in the application. Are there any options to diagnose the cause of this issue further. I saw the post on the WIKI relating to a similar issue
http://community.jboss.org/wiki/TxMultipleThreads however since I don't create any new threads I expect the cause would be a timeout. Since the error I encounter happens well before the timeout (which I set to 3600) I don't think the global timeout is taken effect to bean managed transaction. This leads me back to my question on where the default timeout setting for user managed transactions are set.
thanks in advance
Alex