tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <>
Subject AW: Tomcat4 on Debian Woody : "/etc/init.d/tomcat4 stop" won't unload apps properly
Date Thu, 01 Aug 2002 09:28:05 GMT
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 

> -----Urspr√ľngliche Nachricht-----
> Von: Dominique Deleris []
> 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.
> 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:   <>
For additional commands, e-mail: <>

View raw message