I have a Java component deployed on a JBoss AS. It uses LDAP connection pooling to connect to an LDAP server backend (it creates javax.naming.directory.InitialDirContext with co