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 ins
Regards,
Kiran 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
Just my 2 cents,
Have you tried to set priviledged to true in webapp context?
Also you may need to play a bit with the security manager as J2EE specs
does not endorse the use of System.exit in a webapplication.
[EMAIL PROTECTED] a écrit :
>Hi,
>
>My web application requires database pool connecti