Not able to retrieve offline message when using Hazelcast Cluster

I’m using openfire 4.1.2. HazelCast 2.2.0.

I have 2 instance of Openfire. One running on x.x.x.45 and the other one on x.x.x.46. Both using Hazelcast Cluster.

When my user are conntected both to x.x.x.45 or x.x.x.46 . I can retrieve offline message.

The problem comes when user A is connected to x.x.x.45 and user B is offline and connect to x.x.x.46. Offline Message are not retrieved on connection.

Error from my part. BD was not replicated. That’s Ok now.