On 29/11/2011 17:05, Christopher Schultz wrote: > Mark, > > On 11/29/11 11:15 AM, ma...@apache.org wrote: >> Christopher Schultz <ch...@christopherschultz.net> wrote: > >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>> >>> Bill, >>> >>> On 11/28/11 7:08 PM, Bill Wang wrote: >>>> Here I have the last question, what's the reload option, is >>>> it same as stop/start? >>> >>> According to markt (who is known to be occasionally >>> trustworthy): >>> >>> reload = stop + start > >> I'm pretty sure I didn't say that. > > Sorry, you said: > > On 11/25/11 12:47 PM, Mark Thomas wrote: >> There is no such command as restart. You'll need: >> <url-pattern>/html/stop</url-pattern> >> <url-pattern>/html/start</url-pattern> > > I drew my own (perhaps incorrect) conclusion from that.
In short: reload != restart Fuller explanation below. There is a subtle but important difference. Mark >> Reload keeps the same Context object (and doesn't reread the >> Context config) but does re-read web.xml and allows Jars to be >> updated. > >> Stop/start creates a new Context object (as well as re-reading >> web.xml) and is therefore is a full restart of the context. >> Reload is sort of half a restart. There is no single command >> equivalent to stop/start. > > Gotcha. > > -chris > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org