Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6356966

LDAP Group support needs resource cleanup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1
    • core-libs
    • None

      The LdapGroupFactory when it creates the Group objects in the getObjectInstance() method should
      release the DirContext object if used by it.
      Otherwise it will hold a reference to a Context object that will create problems when connection pooling is used for it will hold the resources for ever. This will result in application running out of resources soon the pool becomes full.

      This bug is the root cause of the Sun Java Application Server bug: 6351539
      I think I shouldn't have filed this bug, as we don't have a category in the bugster for the LDAP Booster Pack bugs.

      I will close this as a duplicate of 6351539 rather than the other way around.
      I'm closing this right now because this bug is showing up in the EC bug list for
      mustang and we should get this bug off the list by closing it.

            jhangalsunw Jayalaxmi Hangal (Inactive)
            jhangalsunw Jayalaxmi Hangal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: