Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10408

File descriptors are left open during hot deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.3.0.ER1
    • EAP_EWP 5.1.2, EAP_EWP 5.2.0
    • None
    • None

      When doing a hot deployment, some InputStreams do not have close() called which means the file descriptor is left open until the garbage collector finalises them. This can potentially lead to running out of file descriptors.

      InputStreams should be closed once they have finished being used, in a finally block.

        1. JBPAPP-10408.patch
          84 kB
          Bartosz Baranowski

            rhn-cservice-bbaranow Bartosz Baranowski
            rhn-support-jlivings James Livingston (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: