tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject restarting Tomcat 4
Date Thu, 14 Feb 2002 15:01:56 GMT

     I was wondering if anyone out there has a good way of restarting Tomcat
4...?  In version 3, I used to just be able to do
"$TOMCAT_HOME/bin/; $TOMCAT_HOME/bin/".  Now, in version
4 though, since the starting and stopping scripts seem to have been modified
to be background processes, this no longer works since it won't wait for the
first script to finish anymore before starting the second one.  Now, my
restart alias looks like this: "$CATALINA_HOME/bin/; sleep 40;
$CATALINA_HOME/bin/".  Pretty lame, and I just arrived at the sleep
value by trial and error (actually as I add more stuff in my server.xml file,
I think the shutdown might even take longer, so I may need to bump this value
up).  Does anyone have any more elegant/exact ways of doing this?


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message