powered by Jive Software

Hazelcast clustering issues on Openfire 4.2.1 release

Openfire version : 4.2.1
Java : jdk-8u131-linux-x64.
Hazelcast 2.2.4

Error
2017.12.13 16:15:43 org.jivesoftware.openfire.container.AdminConsolePlugin - Admin console: CertifcateStoreManager has not been initialized yet. HTTPS will be unavailable.
2017.12.13 16:17:43 org.jivesoftware.util.cache.CacheFactory - CacheFactory - Unable to find a Plugin that provides clustering support.
2017.12.13 16:17:43 org.jivesoftware.util.cache.CacheFactory - Clustered cache factory strategy org.jivesoftware.openfire.plugin.util.cache.ClusteredCacheFactory not found
2017.12.13 16:17:50 org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
2017.12.13 16:17:50 org.apache.commons.httpclient.HttpMethodBase - Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
2017.12.13 16:28:08 org.jivesoftware.openfire.plugin.util.cache.ClusteredCacheFactory - Failed to start clustering (The element type “join” must be terminated by the matching end-tag “”.); will retry in 10 seconds

Your xml has a typo <tcp-ip enabled="true"/>

2017.12.13 17:37:30 INFO [cached1]: com.hazelcast.nio.tcp.SocketConnector - [172.17.0.1]:5701 [openfire] [3.5.1] Could not connect to: /52.65.179.18:5701. Reason: SocketException[Connection timed out to address /52.65.179.18:5701]
2017.12.13 17:37:30 INFO [cached2]: com.hazelcast.nio.tcp.SocketConnector - [172.17.0.1]:5701 [openfire] [3.5.1] Could not connect to: /18.207.85.10:5701. Reason: SocketException[Connection timed out to address /18.207.85.10:5701]

Is this something caused due to mis configuration or firewall in linux?

  1. Firewall was blocking
  2. On AWS, don’t use the elastic IPs for your cluster nodes, but the internal IPs