tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Is there any difference between Shutdown and context reload ?
Date Wed, 25 Jun 2003 12:50:57 GMT


>    I would like to know whether Tomcat behaves the same when Tomcat is
>Restarted and a context reload ?. 

No.  Tomcat restart restarts all the webapps, context reloads only
affects one specific webapp.  Other minor details are different as well,
e.g. creation of System.out/System.err sink, etc.

>Another question is why Tomcat  is
>reloading all servlets when a single servlet is changed.

Same classloader.

In general, the container is not required to keep servlets around at all
until they are requested.  It's valid (though not very practical) for
the container to destroy() your servlet after each call to it, and
init() a new one when another call comes in.

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message