Atomikos Forum

increasing com.atomikos.icatch.max_timeout value..

We just started using Atomikos in our application. I want to know whether we can change the transaction timeout to more than 300,000 msec. Basically we generate participants' documents by a process and that process might take 1-5 seconds to generate those docs per participant. Assuming it takes 5 sec per participant and if there are 3000 participants to process in a batch, then can we would like to set the tx timeout to 15,000,000 msec!!!. When we generate those docs, we update the database for every doc and also we write those doc files into the remote file server. If it fails in the middle, we would like to rollback all and if it is successful then we want to commit at the end. How can we do this with Atomikos?. I know it is not good idea to keep tx for nearly 4-5 hrs, but we need something like this. Any ideas?
Ba Ven Send private email
Saturday, August 08, 2009
ok.. I don't know why I asked that question...I just set that com.atomikos.icatch.max_timeout value to the one I wanted..and it worked!
Ba Ven Send private email
Sunday, August 09, 2009

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics