User selects one or more Stat Holiday to process in JSP. The JSP then calls the getPaymentCalc EJB method which calls calculateStatHolidayPay [2 arguments] method which calls calculateStatHolidayPay [8 arguments] method for each Stat Holiday.

A Stat Holiday takes 4+ minutes to process. I set the transaction timeout to 1 minute in conf/jboss-ervice.xml

what transaction reaper configuration are you using? depending on the mode, transaction timeout processing may happen periodically rather than immediately. In either case it's asynchronous, so the application won't necessarily notice until commit time.

"jhalliday" wrote:what transaction reaper configuration are you using? depending on the mode, transaction timeout processing may happen periodically rather than immediately. In either case it's asynchronous, so the application won't necessarily notice until commit time.

I dont know about transaction reaper configuration. Can you tell me what it is and how to check it? Thanks

The reaper repeatedly sleeps then wakes up and checks for timed out active transactions.

In normal mode it wakes up after a fixed interval So,with your config your transaction may time out after 4 seconds but it could take up 120 seconds for it to get cancelled.

In dynamic mode the reaper calculates a wakeup time just after the earliest timeout of any active transaction. So, with this mode when your transaction times out the reaper should wake up shortly after and kill it.