: 4400 | 106121 | 11884

Graceful termination of agents that run longer than server time limit 
Use this IdeaSpace to post ideas about Domino Server.

: 31
: 31
: 0
: Domino Server / Other
: agent manager, LotusScript
: Mark Demicoli10094 24 Jun 2010
:
: / Email
LotusScript agents that run longer than the limit which is configured in the server document are automatically terminated by the Agent Manager.  There is currently no way to handle this exception programmatically and execute a graceful termination / rollback and thus maintain data integrity.
 
I suggest one solution may be to trigger the error handling in the Initialize event with a unique error number - Err() - which corresponds to this specific error condition, and apply a secondary timeout on the execution of the error handling code.



1) Vlad Sh10122 (24 Jun 2010)
Good idea, but I think that it will be useful not only for the LS-agents, but also for Java.
2) Peter Neidhart640 (24 Jun 2010)
This is already available for LotusScript. Have a closer look at Sub Terminate().
3) John Smart833 (06 Jul 2010)
Peter: Even if Terminate() was run when an agent is over the time limit (is that true???) it's not sufficient unless you code significant workarounds and it's much more elegant to do it through exception handling.
4) Mark Demicoli10094 (07 Jul 2010)
On reflection it sounds like the Terminate sub may offer some help but would not suffice for reasons that John points out.

Example, the LSIGetThreadInfo function would (probably) not return correct module and line number, and you would not have access to objects that you would have access to if the exception is called from within the currently-executing module/sub/function...
5) Michael Tassati3918 (31 Jul 2010)
Currently there is a way by using DDM (event generator) - but it is not very easy to handle this or/and nobody knows it.










:
:

Welcome to IdeaJam™


You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>


4
Add server and database as optional parameters for @GetProfileField and @SetProfileField
8
Have an option to copy an URL from an e-mail (or other)
-1
System wide Web Query Save
56
Please update Domino to fully support TLS (SSL v3.1)
4
Integrated ICS OneUI Editor for Designer
0
Design Element PostSave event
55
When deleting user, delete archive & roaming files as well as mail file
0
Please make the 'Database Users' view collapsible
6
Agent context menu in editor tab eg. "Run Agent"
1
Give us @commands for splitting & joining table cells, and hence smarticons for the same







IdeaJam developed by