How do I setup Tomcat to refresh a directory faster than the default 5 seconds

2009-11-01 Thread ed2003

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? 

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

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


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: How do I setup Tomcat to refresh a directory faster than the default 5 seconds

2009-11-01 Thread Mark Thomas
ed2003 wrote:
 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? 

That would be a question for the users list.

Mark

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


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org