This content has been marked as final.
Show 3 replies
-
1. Re: Unexpected transaction retries
starksm64 Nov 9, 2004 10:55 AM (in response to jesper6tv)There is retry logic on application deadlock detection. The retry attempt is logged at debug level. See the org.jboss.ejb.plugins.TxInterceptorCMT code.
-
2. Re: Unexpected transaction retries
jesper6tv Nov 10, 2004 7:06 AM (in response to jesper6tv)Thanks for the quick answer. That explains my problems.
Will it be possible in a later release of JBoss (4.0?) to assign different MAX_RETRIES on a per Bean basis?
-Jesper -
3. Re: Unexpected transaction retries
starksm64 Nov 10, 2004 10:26 AM (in response to jesper6tv)Create an RFE for that on sourceforge.
You can disable retries by specifiying a org.jboss.ejb.plugins.TxRetryExceptionHandler implementation in the container configuration in either the jboss.xml or standardjboss.xml<jboss> ... <container-configurations> <container-configuration extends="Standard Stateless SessionBean"> <container-name>Retry</container-name> <container-interceptors> <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor> <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor> <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor> <!-- CMT --> <interceptor transaction="Container">org.jboss.ejb.plugins.TxInterceptorCMT <retry-handlers> <handler>org.jboss.test.retry.interfaces.RetryHandler</handler> </retry-handlers> </interceptor> ...