I’ve been working on an openfire clustering solution for my employer. Our plan was to have a server in each one of our datacenters (4). The problem arises when I enable clustering (Hazelcast). The admin interface becomes slow and unresponsive, presence updates take minutes, and chat sessions also take multiple minutes to kick in. Users that just log in have to wait 3-7 minutes before their messages go through.
I’ve added the following to the hazelcast configuration, but it doesn’t seem to change anything.
The only thing in the logs of note are errors like this.
org.jivesoftware.openfire.handler.IQHandler - Internal server error
java.lang.IllegalArgumentException: IQ must be of type ‘set’ or ‘get’. Original IQ: <iq type=“result”