Funky Notes/Domino JVM error (java.lang.IllegalAccessError)

An interesting issue with the Domino JVM was brougt to my attention today via a comment from an anonymous (Paul M. Westwood?) poster today. As you can see from my reply to the comment I was able to reproduce the issue and I recommend that the commenter report the issue to Lotus Support.

The issue is of interest to me due to the work I have been doing on developing a new AgentBase class for use from Eclipse

Interesting technote on maximum execution time of LotusScript agents

I was quite surprised the read the snippet from the cited technote below but after thinking about it, it makes sense. How would the AMgr know beforehand how long time the agent would run and hence how to keep the Terminate event inside the maximum execution time…

“By design, the Terminate event will execute after an agent has been halted for passing the time-out setting. The best coding practice would be to have only necessary clean-up operations within the Termination event. The main operations of the agent should reside in the Initialize event.”

Via the Lotus Support RSS feed: Terminate Event of a LotusScript Agent continues running after the Max Execution time (technote 1201324)