Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3819

Possible resource leak in SubDeployerSupport

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-4.0.5.GA
    • Deployers
    • None

      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!

              dandread1@redhat.com Dimitrios Andreadis
              RomanArkhangelskiy Roman Arkhangelskiy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: