tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: High startup and shutdown time of tomcat 4
Date Tue, 26 Feb 2002 21:25:15 GMT


On Tue, 26 Feb 2002, Jürgen Weber wrote:

> Date: Tue, 26 Feb 2002 19:34:02 +0100
> From: Jürgen Weber <weberjn@hotmail.com>
> Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> To: tomcat-user@jakarta.apache.org
> Subject: High startup and shutdown time of tomcat 4
>
> Hello,
>
> jakarta-tomcat-3.3a has a startup time of 4s (jdk 1.4, NT),
> wheras jakarta-tomcat-4.0.2-LE-jdk14 needs 10s.
>
> Shutdown is also much slower.
>
> The fast startup/shutdown made tomcat 3 so great for development.
> Why is it that catalina is so much slower in startup?
> Can anything be done to make it faster?

The way to avoid this startup time is to not restart Tomcat at all :-).

Tomcat includes a Manager webapp that includes the ability to dynamically
install, reload, and remove individual webapps, without ever having to
restart Tomcat itself.  The commands are simple HTTP requests with query
string parameters, so it is really easy to script.  More info:

  http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html

In the nightly builds of Tomcat 4, you will also find that we've included
some custom tasks for the Ant build tool so that you can install, reload,
and remove webapps directly from your build.xml file.  It takes a second
or two to execute these.

>
> Thanks,
> Juergen
>

Craig


--
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