powered by Jive Software


I successfully did a sample application using Smack API and Openfire server installed in local machine as a web application.

i need to know , If I quit the application withoul logging out, my presence showing as still online, please any one help me about when to call connection.disconnect() method to automatically disconnect the users in abnormal conditions as power shutdown, network failure etc, or i need to use any listener package available in Smack api, or i have to set any properties in Openfire System Properties.

Probably a bit too late to reply u but anyways, u need to use the xmpp.client.idle property in openfire to force the user to log out if he is idle for a period of time. I think this is not working properly for 3.6.3 .