RE: Can we stop tomcat using System.exit(int)

2006-02-07 Thread kiran.tadepalli
Tadepalli -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 2:53 PM To: Tomcat Users List Subject: Re: Can we stop tomcat using System.exit(int) Just my 2 cents, Have you tried to set priviledged to true in webapp context? Also you may need

Re: Can we stop tomcat using System.exit(int)

2006-02-07 Thread Mike Sabroff
when you call System.exit(), you shut down the jvm. It is no wonder that tomcat gets hung. you don't want to make your code specific to tomcat, but yet you want to shut tomcat down?? write a method that does a system call, kill -9 pid catalina.pid is a file containing the pid of the tomcat