Jahia 7.3 Jahia 8

LDAP read timeout

Question

LDAP connection is throwing an LDAP read timeout

Cause

Elements in the network are interrupting the connection between Jahia 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