I’‘ve created a bot but I’‘ve been having problems keeping it alive. I’‘ve used the keep alive and have configured it for every ten seconds. After a while, the bot goes dormant and other clients can’‘t seem to chat with it anymore. I can tell that the keep alive is running because I have inserted logging messages. I don’‘t get a disconnect message, normal or abnormal, from the ConnectionListener. And for that matter, the bot doesn’'t receive any other type of messages. I have a listerner that listens and logs all message types.
The server is a Jabberd server and it seems to happen with both 1.4 and 2 and regardless of whether the bot connects inside or outside my firewall. I have the idle time set to 0 which means infinity.
It may be a JabberD problem but is there anything else I should be doing besides the keep alive to keep the bot alive, or is there anything I can do to revive the bot once it goes dormant?