AnsweredAssumed Answered

Can not join a Chat-Room in a clustered environment

Question asked by hannes on Apr 14, 2016

Hi,

I have the following set-up:

 

A HA-Proxy in front of  2 openfire instances (version 3.10.3)

 

I created a Mutli-User-Chat in one of the Openfire. The room then is displayed in both admin GUIs.

 

I connect to node A with spark and join this room. Everything is fine.

Then I connect to node B and this works also.

 

But If a use the SAMCK-Api I get a

item-not-found(404)

  at org.jivesoftware.smackx.muc.MultiUserChat.join(MultiUserChat.java:501)

 

But only for the node, at which the room was not created!

 

Since Spark is able to connect to both Openfire it seems that I have to set something like a Clustering-Flag for the SMACK-API.

 

Is this right? Or does someone else have an idea what the problem could be?

Outcomes