tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piller Sébastien <>
Subject Re: Restart TC with cron/sh
Date Mon, 07 Jul 2008 14:56:10 GMT
The last answer of F. Schumacher was the right. I was messing with

David Smith a écrit :
> Check to be sure the proper environment variables are set when the 
> script runs.  When I read the error message, I understand the error to 
> be more like "I can't find from line 1 of 
> /usr/local/tomcat/bin/".  You can test to confirm that 
> suspicion by just dropping in an echo line at the beginning of 
> to confirm it is finding and is executing it's 
> contents.
I put a "ping -c 10" between "" and "killall -9". 
Now it has a delay ~ 10s before the killall call.
> Also I'd be careful to put some sleep delay before the killall command 
> as it can take a few seconds for tomcat to shutdown depending on how 
> the webapps were designed.
> --David

Thank you everybody for your advices :)

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message