tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schalk" <>
Subject RE: what *really* happens when you reload or stop/start a webapp?
Date Tue, 30 Dec 2003 23:12:04 GMT
I am pretty sure everything will return to default unless some save was
committed but, someone else may give a more detailed explanation.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Tel: +27125468436
Fax: +27125468436
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -----Original Message-----
:: From: news [] On Behalf Of Jeff Barrett
:: Sent: Wednesday, December 31, 2003 12:59 AM
:: To:
:: Subject: what *really* happens when you reload or stop/start a webapp?
:: I've got a web services application that I'm running w/ axis in Tomcat.
:: According to the howtos for the manager stopping or reloading a webapp
:: will make it unavailable and it will search for new files to load,
:: specifically mentioning .class and .jar files.  But does it go further?
:: A more specific question:  If I
:: 1) had a jar in my webapp that had a class with a static field
:: 2) set that static field to some value via interacting with my webapp
:: 3) did a stop/start or reload
:: would everything get dumped and reset -- would that static variable go
:: back to it's original state when the class file is first loaded?
:: I should probably be asking a more specific question about classloaders
:: and sandboxes and whatnot, but I'm not sure how this stuff works in
:: tomcat and I'm not familiar w/ classloaders beyond their basic operation.
:: thanks,
:: +jeff
:: ---------------------------------------------------------------------
:: To unsubscribe, e-mail:
:: For additional commands, e-mail:

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

View raw message