Notes: I'm using CMT on JBoss 3.2.3 I'm trying to think of a way to somehow catch a timeout exception. It happens rarely and we can easily increase the timeout time to avoid it, but it has got me thinking of how to catch a timeout exception so that we can respond to the exception in a more constructive way (as opposed to just an exception in the log).
Adrian suggest the following code in the Wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatIsTheCorrectPatternForUserTransactions However I think I'm correct in thinking that though the code at the bottom would help (via the finally block), this is purely for BMT. Can anyone suggest anything? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909314#3909314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909314 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user