Hi, I'm playing with TransactionManager,s on TomEE 1.6.0.2, java 7

<TransactionManager id="Default Transaction Manager"
type="TransactionManager">
defaultTransactionTimeout = 1 minutes

I expect an exception after a minute of work and so this is the result :

Caused by: java.lang.Exception: Transaction has timed out
        at
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:266)

but in and @Asynchronous method I never see the time out exception. The
asynchronous method completes succesfully without any exception but at the
end it sends a transaction rollback to the database.

What I'm doing wrong ? Thank you.



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Transaction-manager-time-out-tp4670223.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to