I have deployed Connection manager on the same machine as Wildfire server. I can start CM and can see in Wildfire Active Connection Managers that CM is running with zero client connections. I am able to connect to Wildfire server from java code using Smack API. How can I connect to CM from my java code using Smack API?
did you disable or change ports 5222 and 5223 within Wildfire or did you bind it to localhost?
For Clients it does not matter if they connect to Wildfire or to a CM, so just connect to port 5222.
I didn’‘t change any port. I can run CM and can connect to Wildfire using my Smack code. Even after a successfull connect I don’'t see any increment in client connections under ‘‘Wildfire Active Connection Managers’’. I was expecting client connections numbers to increse based on currently connected users. So I thought I need to connect to CM somehow. Any idea how would I see active connections in ‘‘Wildfire Active Connection Managers’’?
so which ports does the CM use if Wildfire uses port 5222? I assume you CM fails to open port 5222 to listen.
You may want to configure Wildfire to bind to 127.0.0.1 (conf/wildfire.xml) and set in conf/manger.xml the domain to 127.0.0.1 and the interface to your IP address (like 192.168.3.3).
Thanks for your response. I will check CM/Wildfire configuration on Monday and will get back with results.
I tried as suggested by you but still I don’'t see any open client connection in ‘‘Wildfire Active Connection Managers’’ screen. My application is working fine when I connect to Wildfire directly. Still not able to connect to CM althgough I can run CM and can see active CM connection in Wildfire Connection Manager screen.