TROUBLESHOOTING


An agent doesn't run to completion
When an agent doesn't finish running, check the log file (LOG.NSF), the server console, and the Agent Log for error messages.

1. If the agent runs to completion when you run it manually, but does not run when it runs in the background, the agent code may contain commands -- such as, LotusScript user-interface methods -- that aren't intended to run as background processes.

2. The "Max LotusScript/Java execution time" field in the Server document specifies how much time a LotusScript/Java agent has to complete execution. If the agent exceeds this maximum, the agent doesn't finish, and the Agent Log records the termination. Review the agent code to make sure it functions correctly -- for example, make sure that the code doesn't run an infinite loop. If the code is correct, consider increasing the execution time limits in the Server document. However, be aware that increasing these settings may impact system performance because the Agent Manager will run for a longer time to accommodate this agent.

See also