[jboss-jira] [JBoss JIRA] Updated: (JBAS-3819) Possible resource leak in SubDeployerSupport

Roman Arkhangelskiy (JIRA) jira-events at jboss.com
Fri Nov 3 06:44:41 EST 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3819?page=all ]

Roman Arkhangelskiy updated JBAS-3819:
--------------------------------------

    Attachment: screenshot-1.jpg

> Possible resource leak in SubDeployerSupport
> --------------------------------------------
>
>                 Key: JBAS-3819
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3819
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Deployment services
>    Affects Versions: JBossAS-4.0.5.GA
>            Reporter: Roman Arkhangelskiy
>         Assigned To: Dimitris Andreadis
>         Attachments: screenshot-1.jpg
>
>
> I have been running Jtest's BugDetective feature on JBossAS source code and it reported a possible resource leak in org.jboss.deployment.SubDeployerSupport.java.
> There might be an IOException thrown at line 541 of this class's 'deployUrl' method. And this would consequently lead to a resource leak as the
> resource variable 'out' has already been initialized by the time the exception arises, and is never closed afterwards.
> I'm attaching a screenshot from BugDetective which describes the exact flow
> which may lead to the exception.
> Please let me know if this is a real problem or BugDetective is mistaken.
> Thank you!

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

        



More information about the jboss-jira mailing list