Why am I seeing java.lang.ThreadDeath messages from OnTime Group Calendar on the server console?
Please note: This applies to using the agent based API for OnTime Group Calendar.
Agents in IBM Domino has a maximum execution time at which point the thread execuring the agent is terminated. By default the maximum agent execution time in IBM Domino Directory is set to 0 meaning there is no maximum execution time. If for some reason the maximum execution time has been changed the following stacktrace may be seen on the Domino server console.
HTTP JVM: java.lang.ThreadDeath
HTTP JVM: at java.lang.Thread.stop(Thread.java:941)
HTTP JVM: at java.lang.ThreadGroup.stopHelper(ThreadGroup.java:722)
HTTP JVM: at java.lang.ThreadGroup.stopHelper(ThreadGroup.java:727)
HTTP JVM: at java.lang.ThreadGroup.stop(ThreadGroup.java:704)
HTTP JVM: at lotus.domino.AgentLoader.runAgent(Unknown Source)
This message indicates that an agent thread ran for too long time and was terminated. If you are repeatedly seeing this message we suggest you review your maximum agent execution time and make sure it is appropriate.
A solution could be to start using the servlet which also provides better performance.