LDAP read timeout

  Written by The Jahia Team
 
Sysadmins
   Estimated reading time:
7.2.0.3
LDAP connection is throwing an LDAP read timeout

Cause

Elements in the network are interrupting the connection between DX and the LDAP
#

Solution

Configure the connection pool of the LDAP provider:
 

ldap.connect.pool = apache-commons
ldap.connect.pool.maxActive = 20
ldap.connect.pool.maxIdle = 20
ldap.connect.timeout = 60000
ldap.read.timeout = 60000
ldap.connect.pool.testOnBorrow = true
ldap.connect.pool.testWhileIdle = true
ldap.connect.pool.timeBetweenEvictionRunsMillis = 900000