tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Krüger <>
Subject checkContextLastModified() question
Date Fri, 30 Jan 2004 15:04:27 GMT


I'm looking into eliminating (or configuring) the delay between 
modifying my web.xml files and restarting of the context during 
development, which according to Yoav is not configurable. I looked into 
the code. However, I don't quite understand the criterion which is used 
to decide whether a reload should be performed.

starting in line 783 in HostConfig
                         if (newLastModified > (webInfLastModified + 
5000)) {
                         } else {
                                 (contextName, new Long(newLastModified));

I don't understand the first comparison. The lastModified of web.xml 
must be at least 5 seconds after the lastModified of the WEB-INF 
directory? I'm sure I do not understand it correctly. Could someone 
please shed some light on this?

Thanks in advance,


Robert Krüger
Signal7 GmbH
Brüder Knauss Str. 79
64285 Darmstadt

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

View raw message