tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Ekenberg" <jo...@ekenberg.se>
Subject TC4 Slow shutdown and no restart
Date Fri, 04 Jan 2002 19:43:11 GMT
Hi!

When trying out different setups with Tomcat 4 there's a repeated need to
restart it. As far as I understand there is no "restart.sh" command. Why?

After running shutdown.sh there's a period of about 10 seconds before Tomcat
actually stops. If startup.sh is run before that, it results in errors and
strange behaviour (because of already bound ports i guess).

Suggestions:
	- Write a restart.sh script. Something better than "shutdown.sh; sleep 15;
startup.sh". 15 seconds is a long time when Apache can restart in one
second. Best would of course be to implement a restart function in TC
itself, something to reopen all logs and reread all configuration files.
	- If possible, make the shutdown process quicker.
	- Let shutdown.sh hang (wait) until TC actually quits running, this at
least prevents the user from trying to start it again before it's completely
dead, thereby causing strange errors.

Best regards,
/Johan Ekenberg


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message