-
1. Re: Automatic transaction retry
adrian.brock Jul 18, 2003 6:18 AM (in response to lfinis)Post the log. How do you know it is not being tried?
Regards,
Adrian -
2. Re: Automatic transaction retry
lfinis Jul 18, 2003 8:54 AM (in response to lfinis)Hi,
The reason i think that the transaction is not retried is because i don't see "retrying" WARN message in server log. (Source code emits it).
I'm attaching the log.
Thanks,
Leonid. -
3. Re: Automatic transaction retry
adrian.brock Jul 18, 2003 10:02 AM (in response to lfinis)What does your getProductsByType do? It looks like
you are throwing an EJBException when the error
is encountered so the transaction interceptor
cannot find the ApplicationDeadlockException.
Please don't post the full log in future 34M is way too
much data.
Regards,
Adrian -
4. Re: Automatic transaction retry
adrian.brock Jul 18, 2003 10:03 AM (in response to lfinis)What does your getProductsByType do? It looks like
you are throwing an EJBException when the error
is encountered so the transaction interceptor
cannot find the ApplicationDeadlockException.
Please don't post the full log in future 34M is way too
much data.
Regards,
Adrian -
5. Re: Automatic transaction retry
lfinis Jul 18, 2003 10:25 AM (in response to lfinis)I think you're right. I incorrectly chain the exceptions.
If i add source exception as a second parameter to EJBException constructor (causedByException), is TxInterceptorCMT going to trace down the chain and find the ROOT cause (deadlock)?
Thanks,
Leonid.