org.jboss.cache.cluster.ReplicationQueue - failed replicating 47 elements in replication queue
amitna Jan 25, 2011 6:54 AMHi Guys,
We've started using JBoss Cache lately and yesterday we've faced replication problems (see error below)
in the main cache node (which adds data distributed among other cluster nodes) and it seems
that there wasn't any recovery from it as other cluster nodes just didn't receive the data afterwards.
We are using:
Latest JBoss Cache 3.2.4, WebLogic 10.3 installed on UNIX: Solaris
My questions are:
1- what may be causing this kind of error?
2- what can be done to prevent this? better configuration/cache usage?
3- Is there a way to catch/listen to such critical exceptions?
Error seen in main cluster node log:
org.jboss.cache.cluster.ReplicationQueue - failed replicating 47 elements in replication queue
org.jboss.cache.lock.TimeoutException: Timed out waiting for flush to unblock. (timeout = 10 seconds)
at org.jboss.cache.RPCManagerImpl$FlushTracker.waitForFlushCompletion(RPCManagerImpl.java:195)
at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:741)
at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:712)
at org.jboss.cache.RPCManagerImpl.callRemoteMethods(RPCManagerImpl.java:717)
at org.jboss.cache.cluster.ReplicationQueue.flush(ReplicationQueue.java:170)
at org.jboss.cache.cluster.ReplicationQueue$2.run(ReplicationQueue.java:114)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Many Thanks,
Amit, TTI Telecom