I am creating a browser based messenger(with ajax). It would connect to the appserver, which creates an XMPPConnection instance per client and talks on the clients behalf to the wildfire server.
Everything was fine. till I tried to run multiple connection. When I run a create a second XMPPConnection object I get the following error:
In the code, I’‘m creating two XMPPConnections; one to the local wildfire server and another to the gmail’‘s server. I’'ve started suspecting if this is a limitation of smack. *Can we have multiple XMPPConnection objects, connected to multiple servers, in the same jvm?
Any answer would be greatly appreciated. I’'m chasing a deadline and this problem has cropped up.
Thanks in advance,