Re: [DAEMON] Documentation of StopClass etc

2011-11-15 Thread Mladen Truk
On 11/15/2011 01:43 PM, Gary Gregory wrote: And using system exit in a stop class gives you an error, can't recall which one (109?). On my phone ATM, can't check. I fixed that in the trunk, so should work. Anyhow, this presumes client has some sort of shutdown hook installed that will cleanup t

Re: [DAEMON] Documentation of StopClass etc

2011-11-15 Thread Gary Gregory
And using system exit in a stop class gives you an error, can't recall which one (109?). On my phone ATM, can't check. Gary On Nov 15, 2011, at 6:51, sebb wrote: > On 15 November 2011 06:25, Mladen Truk wrote: >> On 11/14/2011 08:34 PM, sebb wrote: >>> >>> On 14 November 2011 18:31, sebb wrot

Re: [DAEMON] Documentation of StopClass etc

2011-11-15 Thread Mladen Truk
On 11/15/2011 12:50 PM, sebb wrote: On 15 November 2011 06:25, Mladen Truk wrote: In which case, why not insist that the StopClass is provided, rather than defaulting it? Or, default to "Main" as is done for StartClass? Yes, that make sense. Regards -- ^TM

Re: [DAEMON] Documentation of StopClass etc

2011-11-15 Thread sebb
On 15 November 2011 06:25, Mladen Truk wrote: > On 11/14/2011 08:34 PM, sebb wrote: >> >> On 14 November 2011 18:31, sebb  wrote: The default --StartClass is now "Main", and --StopClass defaults to "java/lang/System" - in which case the default --StopMethod is "exit" - is that

Re: [DAEMON] Documentation of StopClass etc

2011-11-14 Thread Mladen Truk
On 11/14/2011 08:34 PM, sebb wrote: On 14 November 2011 18:31, sebb wrote: The default --StartClass is now "Main", and --StopClass defaults to "java/lang/System" - in which case the default --StopMethod is "exit" - is that correct? If so, I can update the docs accordingly. Updated docs. H

[DAEMON] Documentation of StopClass etc

2011-11-14 Thread sebb
On 14 November 2011 18:31, sebb wrote: > On 4 November 2011 13:22, sebb wrote: >> On 4 November 2011 12:52,   wrote: >>> Author: mturk >>> Date: Fri Nov  4 12:52:08 2011 >>> New Revision: 1197541 >>> >>> URL: http://svn.apache.org/viewvc?rev=1197541&view=rev >>> Log: >>> Make a code a bit safer o