Re: [OT] Deleting URLClassloader Cached Jars/Classes

2012-04-03 Thread Peter Lavin
Thanks guys, I'll look at this again, esp the JasperLoader, thanks, Peter On 04/02/2012 11:20 PM, Pid wrote: On 02/04/2012 22:33, Konstantin Kolinko wrote: 2012/4/3 Christopher Schultzch...@christopherschultz.net: Is there a way to empty this cache, or disable caching all together? Not

Deleting URLClassloader Cached Jars/Classes

2012-04-02 Thread Peter Lavin
Hi all, this may be a general Java question or their may be a specific answer related to Tomcat. I am running a simple webservice which loads classes using a URLClassloader... // start of code snippet ClassLoader previous = Thread.currentThread()

Re: [OT] Deleting URLClassloader Cached Jars/Classes

2012-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 4/2/12 2:05 PM, Peter Lavin wrote: this may be a general Java question or their may be a specific answer related to Tomcat. This is unrelated to Tomcat, since you are using java.net.URLClassLoader. I am running a simple webservice

Re: [OT] Deleting URLClassloader Cached Jars/Classes

2012-04-02 Thread Konstantin Kolinko
2012/4/3 Christopher Schultz ch...@christopherschultz.net: Is there a way to empty this cache, or disable caching all together? Not without implementing your own ClassLoader. You could read the code for WebappClassLoader to see how it's done in there. +1. You need your own class loader. I

Re: [OT] Deleting URLClassloader Cached Jars/Classes

2012-04-02 Thread Pid
On 02/04/2012 22:33, Konstantin Kolinko wrote: 2012/4/3 Christopher Schultz ch...@christopherschultz.net: Is there a way to empty this cache, or disable caching all together? Not without implementing your own ClassLoader. You could read the code for WebappClassLoader to see how it's done in