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

> Date: Tue, 26 Feb 2002 19:34:02 +0100
> From: Jürgen Weber <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to