tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
Subject BugRat Report #150 has been filed.
Date Thu, 21 Sep 2000 16:05:58 GMT
Bug report #150 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/150>

REPORT #150 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
Environment: 
   Release: Tomcat 3.2 beta
   JVM Release: 1.1.8
   Operating System: AIX
   OS Release: 4.3
   Platform: RS/6000

Synopsis: 
file descriptor leak in AdaptiveClassLoader

Description:
The getResource method in AdaptiveClassLoader leaks file 
descriptors.  When looping through the elements in the 
repository list, for each one that is a jar file, it opens
a new ZipFile object to see if the requested resource is
located within that jar.  This object is never closed and
the file handle doesn't seem to get closed during object
finalization.  

getResource is called every time a <jsp:useBean/> element
is evaluated, Beans.instantiate is called or the application
calls a variant of getResource from either a Class object
loaded by this class loader or from the class loader itself.

Mime
View raw message