我正在尝试在我的局域网中设置Hazelcast集群.共享一个公共数据库服务器的HAProxy后面有两个开放式服务器openfire1和openfire2.
我已经在两者上安装并配置了开火和淡化.现在,当我从群集部分的Openfire管理控制台中看到时:我的openfire1未列出群集中的其他节点.openfire2也不允许我启用集群,每当我看到错误时,我会看到以下日志:
2014.12.06 12:12:46 com.jivesoftware.util.cache.ClusteredCacheFactory - Failed to execute cluster task within 30 seconds java.util.concurrent.TimeoutException at com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.resolveResponse(Invocati onImpl.java:466) at com.hazelcast.spi.impl.InvocationImpl$InvocationFuture.get(InvocationImpl.java: 314) at com.hazelcast.util.executor.DelegatingFuture.get(DelegatingFuture.java:66) at com.jivesoftware.util.cache.ClusteredCacheFactory.doSynchronousClusterTask(Clus teredCacheFactory.java:334) at org.jivesoftware.util.cache.CacheFactory.doSynchronousClusterTask(CacheFactory. java:586) at org.jivesoftware.openfire.admin.system_002dclustering_jsp._jspService(system_00 2dclustering_jsp.java:123) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1359) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330) at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330) at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:50) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330) at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)
Plz告诉我,如果我做错了什么?
现在我已经仅通过使用对应于的Openfire 3.9.3 hazlecast.jar的正确版本克服这个问题;对应于所述的Openfire释放(3.9.3)的Hazelcast插件版本是1.2.0.
直接链接下载:https://community.igniterealtime.org/external-link.jspa?url = http%3A%2F%2Fwww.igniterealtime.org%2Fprojects%2Fopenfire%2Fplugins-dev%2Fhazelcast.jar