TimeoutExceptions from TreeCache.callRemoteMethods()
monocongo Mar 17, 2005 2:09 PMI am getting TimeoutExceptions from the TreeCache when I run my application which is uses the TreeCacheAop MBean for synchronous replication. I have tried doubling the original value for the LockAcquisitionTimeout attribute but this appears to have no effect on the situation, and I can't see any other configuration option which might have an effect.
12:52:47,561 INFO [STDOUT] org.jboss.cache.lock.TimeoutException: rsp=sender=11.15.10.53:39000, retval=null, received=false, suspected=false 12:52:47,562 INFO [STDOUT] at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2169) 12:52:47,562 INFO [STDOUT] at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2191) 12:52:47,562 INFO [STDOUT] at org.jboss.cache.interceptors.ReplicationInterceptor.handleReplicatedMethod(ReplicationInterceptor.java:117) 12:52:47,562 INFO [STDOUT] at org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:82) 12:52:47,562 INFO [STDOUT] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:3085) 12:52:47,562 INFO [STDOUT] at org.jboss.cache.TreeCache.put(TreeCache.java:1728) 12:52:47,563 INFO [STDOUT] at org.jboss.cache.aop.TreeCacheAop.getObject(TreeCacheAop.java:642) 12:52:47,563 INFO [STDOUT] at org.jboss.cache.aop.TreeCacheAop.getObject(TreeCacheAop.java:603) 12:52:47,563 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor81.invoke(Unknown Source) 12:52:47,563 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 12:52:47,563 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585) 12:52:47,563 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) 12:52:47,563 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) 12:52:47,563 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) 12:52:47,563 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) 12:52:47,564 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) etc....
Is there anything else I might try to modify in my configuration of the TreeCacheAop MBean in order to avoid this error ? Or does this point to an error (or bug) somehwhere else ?
I'll be happy to post code and/or configuration files if that will help with the analysis of this problem. I'm using JBoss-4.0.1, JBossCache-1.2.1, a two node cluster, and Linux. Thanks in advance for any help.
--James