commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schlumberger-socha <cschl...@thoughtworks.com>
Subject [daemon] Should StartMethod return in JVM mode
Date Wed, 18 Oct 2017 09:50:39 GMT
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


Mime
View raw message