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

connectionMap.remove in WrapperDatasourceService never called

    XMLWordPrintable

Details

    Description

      When providing remote datasources to the client WrapperDataSourceService adds a reference to a private Hashtable connectionMap.
      These references are never removed. In previous versions connectionMap.remove() has been called during the doConnectionMethod()-Method, however this is not present any longer in current versions (at least >= 4.2.2GA) for unknown reasons.
      Therefore the references to these Connections are never removed therefore the Datasources are never gc'ed therefore this is a memory leak in the heap space.

      Please see the forum reference for details.

      Attachments

        1. WrapperDataSourceService.java
          24 kB
          Ludwig Adam
        2. WrapperDataSourceService.patch
          0.3 kB
          Ludwig Adam

        Issue Links

          Activity

            People

              adrian.brock Adrian Brock (Inactive)
              ladam_jira Ludwig Adam (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified