https://bz.apache.org/bugzilla/show_bug.cgi?id=69605
Mark Thomas <ma...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |enhancement Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Mark Thomas <ma...@apache.org> --- We don't, generally, expose Tomcat internals to web applications. That is a recipe for creating non-portable web applications which rather defeats the whole point of the Servlet and associated specs. If we did this, it would be as a method on the WebappClassLoader. As it happens, you have all you need already. Configure the limit (or leave it as the default) on the Context. Then, in your web application you'll need to: - obtain a reference to the web application class loader - call getNotFoundClassResourceCacheSize() and store the result - call setNotFoundClassResourceCacheSize(0) - call setNotFoundClassResourceCacheSize(<previously stored cache size>) Setting the cache size to zero effectively clears the current cache. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org