Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
LDAP connect/read timeout for Liferay 7.2
The default Liferay LDAP connect timeout is set to 500ms. Is there some way to increase this?I found the following setting for portal-ext.properties, but they don't actually change the timeout
Properties suggested to be changed by Liferay
# default timeout was 500ms
# default read timeout was 15000ms
ldap.connection.com.sun.jndi.ldap.connect.pool=true
ldap.connection.com.sun.jndi.ldap.connect.timeout=2000
ldap.connection.com.sun.jndi.ldap.read.timeout=20000
I'm using Java 11, Liferay 7.2.0-RC3Thanks for the help.

# default timeout was 500ms
# default read timeout was 15000ms
ldap.connection.com.sun.jndi.ldap.connect.pool=true
ldap.connection.com.sun.jndi.ldap.connect.timeout=2000
ldap.connection.com.sun.jndi.ldap.read.timeout=20000
I'm using Java 11, Liferay 7.2.0-RC3Thanks for the help.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™