Summary: | IntrospectionUtils caches application classes | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | Magnus Alvestad <magnus.alvestad> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 5.5.9 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Magnus Alvestad
2005-09-08 15:28:52 UTC
There is more information about the general problem of not being able to GC class loaders at this wiki page: http://opensource2.atlassian.com/confluence/spring/pages/viewpage.action? pageId=2669 The commons-modeler IntrospectionUtils should not be a problem for regular Tomcat operation. However, I see org.apache.tomcat.util.IntrospectionUtils is indeed used on exceptions that come out of the web application, so there is a problem for custom exception types. I will add a clear method to org.apache.tomcat.util.IntrospectionUtils as conserving the cache seems necessary. I added a clear method which is called when stopping the classloader, so the issue is fixed in org.apache.tomcat.util.IntrospectionUtils. |