If you don't like the 'sleep 30' because most time it's 
wasted time, you can loop with a sleep 2 around the result 
of a netstat on one of the tomcat ports or a kill 0 to the 
vm pid.

Ralph Einfeldt
Uptime Internet Solution Center GmbH
Hamburg, Germany
Hosting, Content Management, Java Consulting
http://www.uptime-isc.de 

> -----Urspr�ngliche Nachricht-----
> Von: Dominique Deleris [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 1. August 2002 11:16
> An: tomcat-user-list
> Betreff: Tomcat4 on Debian Woody : "/etc/init.d/tomcat4 stop" won't
> unload apps properly
> 
> I have noticed the following problem in /etc/init.d/tomcat4: when
> called with the "stop" argument, it will kill the JVM before the
> shutdown of tomcat is correctly ended.
> 
<snip/>
> Is there a way to keep the "fallback to kill JVM in case of
> problem", but allowing tomcat to stop correctly. I also could
> modify the sleep instruction to wait 30s, but...


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to