1 2 Previous Next 15 Replies Latest reply on Jun 19, 2007 5:48 PM by Mark Little

    JBossTS Tx timeout (with CMT beans)

    Dimitrios Andreadis Master

      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?

        1 2 Previous Next