Race condition during cluster initialization (Hazelcast plugin)


Cache initialization issues during cluster startup. See community post for details.




Daryl Herzmann
September 27, 2018, 2:07 AM

@Vladimir you should consider engaging us on the forums https://discourse.igniterealtime.org

Vladimir Kelman
September 26, 2018, 10:36 PM

Hi, I'm not allowed to create an issue, or I don't know how to do it.
I have a question for @Tom Evans - or whoever can answer: https://stackoverflow.com/questions/52524231/openfire-with-hazelcast-clustering-plugin-session-is-not-shared-candy-chat-not

We have Candy JS chat with two OpenFire 4.1.7 nodes sitting on LAN with Hazelcast clustering plugins. Plugins are set up to connect using tcp-ip and see each other just fine. Both OpenFire nodes are set to use the same SQL Server database.

Now, in case an initial binding request from C# code came to OpenFire server 1, and a subsequent JavaScript /http-bind/ request from chat happened to come to OpenFire server 2, we’re getting "Root element 'body' does not contain a SID attribute value in parsed request data from [xx.x.x.xxx]" error and chat does not work.

I searched for that error and found it in OpenFire source code at https://github.com/igniterealtime/Openfire/blob/master/src/java/org/jivesoftware/openfire/http/HttpBindServlet.java. From comments there it looks like that error means Sessions are not shared between OpenFire servers.

Is such setup supposed to work? Any ideas of what is wrong?  I hope that sticky sessions are not required....

Daryl Herzmann
February 10, 2014, 3:52 PM

@Tom Evans, The link is up on the websitehttp://www.igniterealtime.org/projects/openfire/plugins.jsp, and I see the page now magically fixed itself for the bug I was seeing, sigh....

Ignite's cluster is no longer running. We had too many issues with spammers

Tom Evans
February 10, 2014, 3:44 PM

Would be great if we could set this up this new build for dogfooding on the Ignite cluster. Let me know if can can be of any assistance.

Daryl Herzmann
February 10, 2014, 2:04 PM

@Tom Evans, strike that last comment, for some reason, the website did not like this updated plugin. Still investigating...



Tom Evans


Tom Evans