<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="http://ideajam.net/ideajam/p/ij.nsf/rsstransform.xslt"?>
<rss version="2.0">
<channel>
	<language>en-us</language>
	<lastBuildDate>Sat, 25 May 2013 00:46:48 +0000</lastBuildDate>
	<title>IdeaJam(tm) : Graceful termination of agents that run longer than server time limit</title>
	<description>An RSS feed generated by IdeaJam(tm) for Graceful termination of agents that run longer than server time limit</description>
	<link>http://ideajam.net/ideajam/p/ij.nsf</link>
	<image>
	    <title>IdeaJam(tm) : Graceful termination of agents that run longer than server time limit</title>
	    <url>http://ideajam.net/ideajam/p/ij.nsf</url>
	    <link>http://ideajam.net/ideajam/p/ij.nsf/LogoSquare.gif?OpenImageResource</link>
	</image>
	<item>
		<pubDate>Thu, 24 Jun 2010 10:42:08 +0000</pubDate>
		<title>Domino Server / Other: Graceful termination of agents that run longer than server time limit</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Mark Demicoli&lt;br&gt;&lt;b&gt;Tags:&lt;/b&gt;  &lt;a href="http://ideajam.net/IdeaJam/P/ij.nsf/ProductByCategory?openview&amp;restricttocategory=agent manager"&gt;agent manager&lt;/a&gt;  &lt;a href="http://ideajam.net/IdeaJam/P/ij.nsf/ProductByCategory?openview&amp;restricttocategory=LotusScript"&gt;LotusScript&lt;/a&gt; &lt;br&gt;&lt;b&gt;Idea:&lt;/b&gt; 
&lt;div&gt;LotusScript agents that run longer than the limit which is configured in the server document are automatically terminated by the Agent Manager.&amp;nbsp; There is currently no way to handle this exception programmatically and execute a graceful termination / rollback and thus maintain data integrity.&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;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.&lt;/div&gt;&lt;br&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/8EDA40A9734521C08625774C00354BDF?OpenDocument</link>
	</item>
	<item>
		<pubDate>Thu, 24 Jun 2010 12:35:34 +0000</pubDate>
		<title>re: Graceful termination of agents that run longer than server time limit</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Vlad Sh&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; Good idea, but I think that it will be useful not only for the LS-agents, but also for Java.&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/8EDA40A9734521C08625774C00354BDF?opendocument&amp;#commentsanc&amp;id=6A3D0707C3FCE8678625774C003FAEAD</link>
	</item>
	<item>
		<pubDate>Thu, 24 Jun 2010 22:45:13 +0000</pubDate>
		<title>re: Graceful termination of agents that run longer than server time limit</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Peter Neidhart&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; This is already available for LotusScript. Have a closer look at Sub Terminate().&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/8EDA40A9734521C08625774C00354BDF?opendocument&amp;#commentsanc&amp;id=AD5A45447DCEE4CA8625774C00777F13</link>
	</item>
	<item>
		<pubDate>Tue, 06 Jul 2010 22:35:46 +0000</pubDate>
		<title>re: Graceful termination of agents that run longer than server time limit</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; John Smart&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; 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.&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/8EDA40A9734521C08625774C00354BDF?opendocument&amp;#commentsanc&amp;id=3DC712A41EF7A5EA862577580076A1DD</link>
	</item>
	<item>
		<pubDate>Wed, 07 Jul 2010 01:32:01 +0000</pubDate>
		<title>re: Graceful termination of agents that run longer than server time limit</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Mark Demicoli&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; On reflection it sounds like the Terminate sub may offer some help but would not suffice for reasons that John points out.&lt;br /&gt;&lt;br /&gt;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...&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/8EDA40A9734521C08625774C00354BDF?opendocument&amp;#commentsanc&amp;id=8725428092A1D2B3862577590002EE7C</link>
	</item>
	<item>
		<pubDate>Sat, 31 Jul 2010 18:52:43 +0000</pubDate>
		<title>re: Graceful termination of agents that run longer than server time limit</title>
		<description>&lt;b&gt;Author:&lt;/b&gt; Michael Tassati&lt;br /&gt;&lt;b&gt;Comment:&lt;/b&gt; Currently there is a way by using DDM (event generator) - but it is not very easy to handle this or/and nobody knows it.&lt;br /&gt;</description>
		<link>http://ideajam.net/ideajam/p/ij.nsf/0/8EDA40A9734521C08625774C00354BDF?opendocument&amp;#commentsanc&amp;id=4590B977CBDDAB58862577710062361B</link>
	</item>
</channel></rss>
