I already read many questions about multiple servers connect to one db. But I’ve got no solution from it for my case.
My case is: One db (oracle), one domain and two app servers.
What I want is: every users who login from AppServer1 got same view from their friends who login from AppServer2. They’re can talk without adding manualy.
As you are posting in the Clustering category i suppose you have heard about that technology. Openfire supports that via old Clustering plugin, which is working with a commercial Oracle Coherence. For Openfire 3.7.0 http://community.igniterealtime.org/message/211450#211450
And there is also an open source plugin in the works http://community.igniterealtime.org/docs/DOC-2172