Content Platform Engine might throw a "socket closed" exception when the LDAP provider is Microsoft Active Directory.
Content Platform Engine might intermittently throw the following exception when performing an LDAP search operation against Microsoft Active Directory:
LDAP search operation failed: hqpsidc:3268; socket closed
When the exception occurs, Content Platform Engine will try the operation again and will successfully establish the connection.
Set the JVM argument com.sun.jndi.ldap.connect.pool.timeout to a small timeout value, forcing Content Platform Engine to close the connection before the Active Directory server closes the connection. For example, the following timeout setting is for 30 minutes, in milliseconds:
-Dcom.sun.jndi.ldap.connect.pool.timeout=1800000
You can also add the JVM argument as an entry to the FileNet.properties file.