This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
Hi, I have a method that runs for about 2 mins.It runs within a JTA. Since my Java tx timeout is 120 secs, it always times out.i need a way to run this module outside the transaction.The method does not access the DB at all. Kindly suggest solutions.
i need a way to run this module outside the transaction
Hmm. I think you need a way to check why your method takes so long to run and decide if what it is doing is valid. If it is, lengthen you transaction time out. I'm presuming you are using a transaction so you can roll something back? Data integrity should always take precedence over performance. [ October 26, 2006: Message edited by: Paul Sturrock ]