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.