I have the same problem. I've gone through all the hoops to configure a method level timeout from a CMT bean . Using..
* @ejb.transaction type = "RequiresNew"
* @jboss.method-attributes transaction-timeout="10"
I see the WARN message in the logs, at the correct time, but the transaction hangs ( or possibly waits for the SQL to finish ) rather than raises a transaction .
Did you get an answer to your question?
If not can I raise it again please?
How how can I force a transaction timeout to raise an exception?
Running JBoss 3.2.5 with a mySQL database.
Any help or pointers appreciated,
I'm still having that problem and frankly, I have no clue at all.
And yes, I can see the warning in the log files, but I can't do anything to handle that transactional error.
Do what you want, you're welcom !