powered by Jive Software

TimeoutException on cluster startup

I have set up a two node cluster and each time the secondary node starts, the task that should retrieve the MUC rooms from the primary node times out.

This is what I’m seeing:

“2013-05-21T08:36:23.118000Z”:35:JAVA:WARNING:local:hz.openfire.cached.thread-5: 00000000:ClusterListener:“Firing join cluster as 9f3f735c-0c10-4bca-ac4a-959c02924b94”

“2013-05-21T08:36:23.120000Z”:36:JAVA:WARNING:local:ClusterManager events dispatcher:00000000:ClusteredCacheFactory:“Executing DistributedTask: org.jivesoftware.openfire.muc.cluster.GetNewMemberRoomsRequest”

“2013-05-21T08:36:23.146000Z”:37:JAVA:ERR:local:ClusterManager events dispatcher:00000000:ClusteredCacheFactory:“Failed to execute cluster task within 30 seconds”

java.util.concurrent.TimeoutException

at com.hazelcast.impl.ExecutorManager$MemberCall.get(ExecutorManager.java:613)

at com.hazelcast.core.DistributedTask$Inner.get(DistributedTask.java:244)

at com.hazelcast.core.DistributedTask.get(DistributedTask.java:146)

at com.jivesoftware.util.cache.ClusteredCacheFactory.doSynchronousClusterTask(Clus teredCacheFactory.java:341)

at org.jivesoftware.util.cache.CacheFactory.doSynchronousClusterTask(CacheFactory. java:575)

at org.jivesoftware.openfire.muc.MultiUserChatManager.joinedCluster(MultiUserChatM anager.java:627)

at org.jivesoftware.openfire.cluster.ClusterManager$2.run(ClusterManager.java:105)

Please note that even if the message says it couldn’t execute within 30 seconds, less than a second has actually elapsed since the task was started. This varies a little, but it seems to always stay under 3 seconds. Any ideas?