Re: How to do stop-start fast?

2002-07-31 Thread Aleksi Kallio
n > echo "Its running - let's shutdown" > $TOMCAT_HOME/bin/shutdown.sh > TC_check > fi > > > while [ IS_RUNNING -eq 1 ] ; do > echo "Still running" > sleep 1 > TC_check > done > > echo "Now startup ..." > $TOMC

How to do stop-start fast?

2002-07-17 Thread Aleksi Kallio
I have a script that stops Tomcat (shutdown.sh), does stuff and then restarts it (startup.sh). Doing stuff doesn't take long enough and Tomcat refuses to restart because the port is still reserved. Removing the restart from script and waiting a few secs after running the script, then restarting m