Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 24428 invoked from network); 6 Jul 2006 08:46:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jul 2006 08:46:15 -0000 Received: (qmail 23988 invoked by uid 500); 6 Jul 2006 08:46:11 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 23924 invoked by uid 500); 6 Jul 2006 08:46:09 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 23913 invoked by uid 500); 6 Jul 2006 08:46:09 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 23909 invoked by uid 99); 6 Jul 2006 08:46:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 01:46:09 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 01:46:08 -0700 Received: by brutus.apache.org (Postfix, from userid 33) id 65D01410439; Thu, 6 Jul 2006 08:44:20 +0000 (GMT) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 39975] New: - Classloader refence leaks in jasper-runtime when webapp has log4j and commons-logging Message-ID: X-Bugzilla-Reason: AssignedTo Date: Thu, 6 Jul 2006 08:44:20 +0000 (GMT) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=39975 Summary: Classloader refence leaks in jasper-runtime when webapp has log4j and commons-logging Product: Tomcat 5 Version: 5.0.17 Platform: All OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Jasper AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: taras.tielkes@gmail.com When the first JSP renderd (since startup) is from a webapp that contains commons-logging and log4j, classes from the 'jasper.runtime' package create a memory leak. Here's a description in more detail 1) User deploys war with commons-logging + log4j jars (quite common) 2) First page is rendered, causing loading and initialization of classes in the 'jasper.runtime' package. 3) Some of these classes (for instance PageContextImpl) contain static commons-logging 'log' fields. 4) In the scenario described, these fields get intialized to a Log4JLogger instance that is loaded from the webapp classloader. The effective result is that code and data in this webapp will never be unloaded. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org