tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat AutoDeploy Interval (Delay / Frequency)
Date Fri, 11 Jan 2013 16:22:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Radek,

On 1/10/13 6:28 AM, Radek Szamrej wrote:
> Thank you for the great tip,
> 
> with your help I was able to find it (and confirmed it works):
> 
> To summarize:
> 
> Setting for the <Host> in "sever.xml" is called
> "backgroundProcessorDelay" (value expressed in seconds)
> 
> 
> In "server.xml":
> 
> <Host appBase="webapps" autoDeploy="true" ....... 
> backgroundProcessorDelay="1">
> 
> It makes Tomcat to auto-redeploy using 1s interval.
> 
> Problem solved.

Come on back when you find that your WAR file takes more than 1/2
second to scp/copy into place and you get broken deployments.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEAREIAAYFAlDwPDMACgkQ9CaO5/Lv0PAf5wCdEWIy3u8bbKjS9m6F63wyMZmA
yuAAoIEWAF0vO6lcF2+7z82RHq+bPFjq
=i+5u
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message