Author: billbarker Date: Fri Dec 8 20:12:31 2006 New Revision: 484910 URL: http://svn.apache.org/viewvc?view=rev&rev=484910 Log: Fix modeler memory leak on reload.
Fix for: MODELER-15 Please don't try to port this to TC 6.x, because Remy has already put a better patch in place there. Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java Modified: tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java?view=diff&rev=484910&r1=484909&r2=484910 ============================================================================== --- tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java (original) +++ tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java Fri Dec 8 20:12:31 2006 @@ -1640,6 +1640,9 @@ // Clear the IntrospectionUtils cache. IntrospectionUtils.clear(); + // Clear the IntrospectionUtils cache for modeler. + org.apache.commons.modeler.util.IntrospectionUtils.clear(); + // Clear the classloader reference in common-logging org.apache.commons.logging.LogFactory.release(this); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]