tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ed2003 <ed200...@yahoo.com>
Subject How do I setup Tomcat ro refresh a directory faster than the default 5 seconds?
Date Mon, 02 Nov 2009 13:29:31 GMT


> I tried adding variations of the following to server.xml but it still
> takes 5
> seconds for a newly modified file to appear.  Anybody know what I am doing
> wrong? (If the file is new, it appears within a second or so.  But if it
> exists and is rewritten, it takes 5 sec)

>
> <Context path="/usr/share/tomcat5.5-webapps/ROOT/status"
>     cacheTTL="1" >
>    <WatchedResource>status/picture.png</WatchedResource>
>  </Context>
>

-- 
View this message in context: http://old.nabble.com/How-do-I-setup-Tomcat-ro-refresh-a-directory-faster-than-the-default-5-seconds--tp26156902p26156902.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message