On Tue, Mar 25, 2008 at 11:57 PM, mattrpav <[EMAIL PROTECTED]> wrote:
>
> ServiceMix will shutdown gracefully if you kill the pid (UNIX). I use a
> startup script that captures the pid and writes it to a pid file for use by
> the shutdown script.
Just a bit more context here, ServiceMix will shut down safely (via a
shutdown hook) by doing a soft kill on the pid. I.e., do not use a
SIGKILL (kill -9 <pid>) to stop ServiceMix. Instead use a SIGINT (kill
-2 <pid>) to stop SericeMix. The SIGINT will invoke the shutdown hook
and shutdown ServiceMix safely.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Blog: http://bruceblog.org/