JNDI System Properties

The Novell eDirectory connector supports all JNDI system properties. For more information, refer to https://docs.oracle.com/javase/jndi/tutorial/ldap/connect/config.html.

The following are system properties that can be set at JVM:

com.sun.jndi.ldap.connect.pool.maxsize

com.sun.jndi.ldap.connect.pool.protocol

com.sun.jndi.ldap.connect.pool.timeout

com.sun.jndi.ldap.connect.pool.initsize

com.sun.jndi.ldap.connect.pool.authentication

com.sun.jndi.ldap.connect.pool.debug

For example:

  • Tomcat: CATALINA_OPTS="$CATALINA_OPTS -Dcom.sun.jndi.ldap.connect.pool.timeout=3000"

  • Linux: JAVA_OPTS="$JAVA_OPTS -Dcom.sun.jndi.ldap.connect.pool.timeout=3000"

  • Windows: JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.jndi.ldap.connect.pool.timeout=3000

The following are examples for environment properties that can be configured in the application Debug page:

<entry key="com.sun.jndi.ldap.connect.pool" value="true" />

<entry key="com.sun.jndi.ldap.read.timeout" value="120000" />