Support multiple login at the same time in OpenFire server

Hitesh Patel picture Hitesh Patel · May 24, 2012 · Viewed 8.7k times · Source

I've configured OpenFire for using as server for my customers.

But in following case, OpenFire doesn't give proper response:

Customer A login from two chat client connected to my server and chat with another Customer B. The problem is that, last active Customer A can only get Message from Customer B instead of getting message in both the chat client.

Anyone have configured the OpenFire can suggest me the settings need to be changed.

Thanks.

Answer

Flow picture Flow · May 24, 2012

This is by design of XMPP, as can be seen in RFC3921, section 11.1 "Inbound Stanzas".

To send messages addressed to a bare JID in openfire to all related full JIDs (resources + bare JID), you need to set the system property route.all-resources with the value true in Openfire (Admin Console > Server Manager > System Properties). You will have to create this system property. Also you would have to set the same priority in both clients.

See also these igniterealtime forums posts.