https://issues.apache.org/bugzilla/show_bug.cgi?id=50642
Summary: keepAliveProtectection doesn't work
Product: Tomcat 7
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=26541)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=26541)
ServletContextListener that removes the leaked ClassLoader reference
sun.net.www.http.HttpClient.kac.keepAliveTimer.contextClassLoader causes a
memory leak as it references the webapp's classloader rather than Tomcat's.
JreMemoryLeakPreventionListener claims to fix this, but only loads
sun.net.www.http.HttpClient and does not create the timer thread. Thus the leak
still exists.
AFAICT, the attached listener does successfully prevent the leak.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]