Is expandWARs something different than the unpackWARs Host attribute?

-----Original Message-----
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 11:49 AM
To: Tomcat Users List; Rasputin
Subject: Re: overhead running from war rather than unpacked



On Thu, 27 Mar 2003, Rasputin wrote:

> Date: Thu, 27 Mar 2003 11:52:18 +0000
> From: Rasputin <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>,
>      Rasputin <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: overhead running from war rather than unpacked
>
> * Craig R. McClanahan <[EMAIL PROTECTED]> [0312 07:12]:
>
> Thanks for that, Craig - top perfromacen tuning tips!
>
> With this in mind, is there a definitive way to
> ensure clients get a 'fresh' copy of a webapp?
> How does tomcat/catalina decide when a webapp has been updated -
> doe sit look at the war before using the expanded content, for example?
>

Are you talking about the case where you just drop a WAR file into the
webapps directory?  if you've got expandWARs set to true, the WAR will be
expanded into a directory with the same base name -- *if* it does not
exist already.  However, if the directory exists Tomcat will *not*
re-expand the updated WAR, so you have to remove the old directory first
(as well as replace the WAR).

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This electronic transmission is strictly confidential to Smith & Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission.  If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to