[Pogamut-list] shutDownAgent()

jakub.gemrot pogamut-forum at artemis.ms.mff.cuni.cz
Wed Sep 30 10:19:11 CEST 2009


Re: shutDownAgent()

Author: jakub.gemrot

Hi yayu!

shutdownAgent() should be done when the agent is shutdowned (terminated, ended with exception and such).

I would suggest:
1) put some log.info("IN SHUTDOWN() METHOD"); as a first row into shutdownAgent() method
2) observe, whether you receive that log line during several scenarios of shutdowning the agent (do it from IDE, throw Exception from doLogic(), shutdown ut2004 server).

If "IN SHUTDOWN() METHOD" appears in logs of the bot - it is executed and problem lies somewhere under this logging method.

Cheers!

Jakub





More information about the Pogamut-list mailing list