> Date: Sat, 1 Mar 2014 04:11:57 -0800
> Subject: Difference between process kill and shutdown
> From: [email protected]
> To: [email protected]
>
> On our linux boxes, we have multiple users who run tomcat.
>
> Currently we are using process kill commands to kill the respective user's
> tomcat , instead of using shutdown.sh
MG>Bad Practice
>
> Are there any downsides of using this approach ?
MG>There are horrible downsides
MG>A Kill will take the running process out of the execution environment..no
matter what the side effect is
MG>Hooks to any of the configured Server Listeners CATALINA has started can be
ignored and usually are
MG>The result of a kill on parent process is
MG> you will still have one or more Listeners running as child daemons since
they were never shutdown properly
MG>Whoever told you to use the kill command instead of shutdown should be
court-martialed!
>
> Thanks,
> Akash