Error added: 2010-10-31T13:30:26Z
I got this when I had two Tomcat instances both trying to log in to the Jabber server as the same account - with the same resource. I got [Replaced by new connection] every few seconds. I designated one node as main, and one as backup, did -Denv=main on one and -Denv=backup on the other, and did this: String resource = service.getEnvironment(); connection.login("username", "password", resource); where getEnvironment() pulls out that system property.
If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people
struggling with this too.
If you want to be notified via email when this is solved, enter your email address here: