tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
Subject Re: Modifying the Tomcat Cache?
Date Wed, 02 Nov 2005 12:54:46 GMT
You need to create your own classloader and load your custom class into that 
classloader. Then when it changes - you disregard that classloader (and its 
class). Tomcat is not doing the caching - the jvm is.


Michael Vorsch├╝tz wrote:

> Hello,
> My web application generates at runtime a java class and compiles it. If I
> change this class and recompile it the application uses the old class from
> the tomcat cache and not the new compiled one.
> Is there a possibility to delete this cached class manualy or force tomcat
> not to cache this class?
> I don't want to restart the tomcat or delete the whole cache after the
> changing. And I don't want to set the reloadable parameter to true for the
> whole web application.
> Has somebody an idea how I could implement this?

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

View raw message