On Thu, 13 Sep 2001, Jonathan Eric Miller wrote:
> Date: Thu, 13 Sep 2001 19:24:08 -0500
> From: Jonathan Eric Miller <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: The pitfalls in restarting tomcat
>
> IMHO, it would still be nice to have a true easy way to completely restart
> Tomcat. For example, say you were running into memory leak problems or
> something like that. You might want to schedule a script to run once a day
> to restart the server. In a perfect world, one would never have to do this,
> but, sometimes you run into bugs and you want to make sure that things are
> completely reset.
>
On Unix, many /etc/rc.d/init.d scripts I've seen implement their "restart"
command as a shutdown followed by a startup. Why is it any more
complicated than this?
Note also that, if you don't physically restart the JVM, you don't give
any of the memory it grabbed back to the operating system.
> Jon
>
Craig