You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Christopher Schlumberger-socha <cs...@thoughtworks.com> on 2017/10/18 09:50:39 UTC

[daemon] Should StartMethod return in JVM mode

Hey all,

I have a question about the start method in JVM mode:

Under the "Command line parameters" section, the description for
--StartMethod states:

> Note: in jvm mode, the start method should not return until the stop method has been called.

But at the bottom of the "Using Procrun in jvm mode" section, it states:

> Note that the method handling service start should create and start a separate thread to carry out the processing, and then return. The start and stop methods are called from different threads.

Am i missing something, or are these two statements mutually exclusive?

Thanks,

-- 
Chris Socha

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org