tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Jim Miani)
Subject Servlet caching
Date Wed, 31 Jan 2001 17:20:53 GMT

Has anyone had a problem with Tomcat caching servlets?

sometimes it doesn't, sometimes it does. reloadable is set to true,
and I even reduced the Loader checkInterval to 3 (in server.xml file), it
still sometimes caches a servlet.

Here's what the snippet of server.xml that is of concern here looks like:

 <Context path="/ICANON"          
 <Loader checkInterval="3"/>      

When I recompile a servlet that lives under 
$TOMCAT_HOME/webapps/ICANON/WEB-INF/classes, it _usually_ picks up the changes
immediately. But every so often it caches the servlet, and I have to
restart Tomcat to get it out of cache.

Any help? TIA.


View raw message