IBM Support

PK87294; 6.1.0.25: file handle leak on ibm-edition-metadata.props temp files

Download


Abstract

TempFileInputStream.finalize() is not calling super.finalize(). So the file handle is not being closed properly.

Download Description

PK87294 resolves the following problem:

ERROR DESCRIPTION:
The finalize() method in TempFileInputStream class is not calling super.finalize() and the file handle is not being closed when the TempFileInputStream is finalized. It may cause a file handle leak.

LOCAL FIX:

PROBLEM SUMMARY

USERS AFFECTED:
All users of IBM WebSphere Application Server versions 6.1 and 7.0.

PROBLEM DESCRIPTION:
TempFileInputStream.finalize() is not calling super.finalize(). So the file handle is not being closed properly.

RECOMMENDATION:
None

TempFileInputStream.finalize() is not calling super.finalize() and the file handle is not being closed when the TempFileInputStream is finalized. It may cause a file handle leak. The solution is to call the finalize() method on superclass once cleanup is done with TempFileInputStream.finalize(). This leak is found in WebSphere Extended Deployment product, but code changes are common. The solution is to add super.finalize() in TempFileInputStream.finalize() method to call the finalize() method on superclass FileInputStream.

PROBLEM CONCLUSION:
TempFileInputStream.finalize() has been modified to call finalize() on superclass to ensure proper closure of InputStream.

The fix for this APAR is currently targeted for inclusion in
fix packs 6.1.0.27 & 7.0.0.5. Please refer to the Recommended
Updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Prerequisites

Please download the UpdateInstaller below to install this fix.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"7959","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK87294/readme.txt"}]
On
[{"DNLabel":"6.1.0.25-WS-WAS-MultiOS-IFPK87294","DNDate":"8/26/2009","DNLang":"US English","DNSize":"7545","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"https://www.ibm.com/support/fixcentral/quickorder?fixids=6.1.0.25-WS-WAS-MultiOS-IFPK87294&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK87294/6.1.0.25-WS-WAS-MultiOS-IFPK87294.pak","DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK87294/6.1.0.25-WS-WAS-MultiOS-IFPK87294.pak"}]

Technical Support

Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"System Management\/Repository","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.1.0.25","Edition":"Advanced;Base;Developer;Enterprise;Express;Network Deployment;Single Server","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 October 2019

UID

swg24024173