You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/08/21 23:17:03 UTC

[jira] Resolved: (AXIS-2185) Resource/memory leak in ClasspathUtils.getDefaultClasspath(MessageContext)

     [ http://issues.apache.org/jira/browse/AXIS-2185?page=all ]
     
Davanum Srinivas resolved AXIS-2185:
------------------------------------

    Resolution: Fixed

moved the fis.close to a finally block. could you please check latest cvs?

thanks,
dims

> Resource/memory leak in ClasspathUtils.getDefaultClasspath(MessageContext)
> --------------------------------------------------------------------------
>
>          Key: AXIS-2185
>          URL: http://issues.apache.org/jira/browse/AXIS-2185
>      Project: Apache Axis
>         Type: Bug
>   Components: Deployment / Registries
>     Versions: 1.2.1
>     Reporter: Adrian Price

>
> org.apache.axis.utils.ClasspathUtils.getDefaultClasspath(MessageContext) opens JAR files in order to read the manifest Class-Path attributes, but never closes them.  Resource management problems like this causes resource/memory leaks in app. servers and can prevent them from deleting temporary deployment files (because the O/S will not delete an open file).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira