Re: Are ClassLoader resources cached forever?

2009-10-12 Thread garyh6
> If you set the cachingAllowed attribute on your element to > "false", will this meet your needs? I believe this will disable caching > and therefore eliminate the memory concerns you have. Thanks for the reply. Our situation was actually reversed. We are using Tomcat with a custom classloade

Are ClassLoader resources cached forever?

2009-09-14 Thread garyh6
We are using Tomcat 5.5. Does the class org.apache.catalina.loader.WebappClassLoader cache resources found from the findResource() method (which is called when Java code calls getResource())? I looked at source code and it seems to suggest it does, but I want to make sure I was understanding it