tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <funk...@joedog.org>
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.

-Tim

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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message