You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dave Ford <df...@smart-soft.com> on 2002/08/23 19:36:05 UTC

Unwanted Caching of Classes

This question pertains to JSP pages that make use of classes in the classes
folder. I would like a way to tell tomcat to ALWAYS check for the latest
version of the class file. This is useful for development mode. A few notes:

1. Setting reloadable="true" in server xml doesn't always work.
2. Deleting the webapp's folder inside of tomcat's "work" folder works some
times. But tomcat still can pull the old class from memory.
3. Restarting Tomcat doesn't always work.

So the only guaranteed way to ensure that all the latest classes are being
used, is to delete the work folder AND restart tomcat, which is pain in the
butt. Is there an easier way?


Dave Ford
Smart Soft - The Developer Training Company
http://www.smart-soft.com



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>