[jboss-dev-forums] [Design of JBoss Transaction Services] - JBossTS Tx timeout (with CMT beans)

dimitris@jboss.org do-not-reply at jboss.com
Tue Jun 19 09:27:05 EDT 2007


I was seeing random failures with org.jboss.test.tm.test.TxTimeoutUnitTestCase - testOverriddenTimeoutExpires()

The timeout is set to 5'' while the bean is actually waiting 8'' inside a method. Some times the asynchronous timeout/rollback doesn't happen and I had to do a 7'' [+ 2''] seconds sleep to make it reliably pass (at least locally).

I'm wondering how tx timeouts are implemented by JBoss TS. Is there a thread that wakes up periodically (e.g. every 5'') and evaluates the timeouts or does it wake up at the exact timeout time?

Does it deal with the timeouts themselves in separate threads?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055617#4055617

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055617



More information about the jboss-dev-forums mailing list