Transaction Timeouts not working - help
1977 Feb 28, 2012 5:04 PMI have a MessageListener on a queue that needs to do a lot of time consuming tasks for each message it recieves. But I cannot seem to change the timeout.
I.ve tried setting the following in hornetq-configuration.xml
<transaction-timeout>600000</transaction-timeout> (i.e. 10mins)
but it always seems to timeout after 5 mins with the following error
21:31:27,895 WARN [com.arjuna.ats.arjuna] ARJUNA-12117 TransactionReaper::check timeout for TX 0:ffffc0a8000c:126a:4f4d37a6:65e in state RUN
21:31:27,896 WARN [com.arjuna.ats.arjuna] ARJUNA-12095 Abort of action id 0:ffffc0a8000c:126a:4f4d37a6:65e invoked while multiple threads active within it.
21:31:27,896 WARN [com.arjuna.ats.arjuna] ARJUNA-12108 CheckedAction::check - atomic action 0:ffffc0a8000c:126a:4f4d37a6:65e aborting with 1 threads active!
21:31:27,896 WARN [com.arjuna.ats.arjuna] ARJUNA-12121 TransactionReaper::doCancellations worker Thread[Transaction Reaper Worker 0,5,jboss] successfully canceled TX 0:ffffc0a8000c:126a:4f4d37a6:65e
22:25:49,794 WARN [com.arjuna.ats.arjuna] ARJUNA-12117 TransactionReaper::check timeout for TX 0:ffffc0a8000c:126a:4f4d37a6:1a40 in state RUN
22:25:49,794 WARN [com.arjuna.ats.arjuna] ARJUNA-12117 TransactionReaper::check timeout for TX 0:ffffc0a8000c:126a:4f4d37a6:1a41 in state RUN
22:25:49,794 WARN [com.arjuna.ats.arjuna] ARJUNA-12117 TransactionReaper::check timeout for TX 0:ffffc0a8000c:126a:4f4d37a6:1a42 in state RUN
22:25:49,794 WARN [com.arjuna.ats.arjuna] ARJUNA-12117 TransactionReaper::check timeout for TX 0:ffffc0a8000c:126a:4f4d37a6:1a43 in state RUN
anyone know a way around this?
p.s for the moment I ve stripped out all db access to try to narrow in on the problem
also - Im using spring and have set the transaction manager to my jta transaction manager
<jms:listener-container connection-factory="queueConnectionFactory" concurrency="10" acknowledge="transacted" transaction-manager="transactionManager">
<jms:listener destination="PullPhotosQueue" ref="pullPhotosListener"/>
<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
<property name="transactionManagerName" value="java:/TransactionManager"/>
<property name="userTransactionName" value="UserTransaction"/>
</bean>