What is the difference (in Tomcat terminology) between “stopping” Tomcat, and just killing the process?
If Tomcat has a pid of, say, 500, then what is the difference between:
kill -9 500
And
service tomcat stop
?? Thanks in advance!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
kill = bam! it’s dead.
Stop = allow it to end gracefully. Any running applications can run any code they have for this occurance. The server instance iself will gracefully release resources.