JNDI Configuration

This section covers information on JNDI systems.

JNDI System Properties

The IBM Tivoli Directory Server connector supports all JNDI system properties. For more information, refer to Connection Pooling Configuration in the Oracle documentation.

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:

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

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

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

The following are examples of environment properties that can be configured in the application XML:

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

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