DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11128>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11128 ServletContext memory leak Summary: ServletContext memory leak Product: Tomcat 4 Version: 4.0.4 Final Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] After removing a web-app, the servlet context stays around, together with all context attributes, etc. My profiler shows static references from org.apache.naming.ContextBinding. The reason is, that org.apache.catalina.StandardContext does the contextBinding BEFORE the thread context classloader has been set, i.e. the classloader used as key is NOT the web app classloader that is later used for unbind. I propose moving #bindThread() directly after setting the loader. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>