Previous Topic: Enable LDAP Connection PoolingNext Topic: Enable Apache Tomcat Security Manager


JBoss Application Server

Perform the following steps to create a LDAP connection pool:

  1. Navigate to the following location:
    <JBOSS_HOME>\standalone\configuration
    
  2. Open standalone.xml file in a text editor.
  3. Add the following properties:
    <system-properties>
    <property name="com.sun.jndi.ldap.connect.pool.protocol" value="plain ssl"/>
    <property name="com.sun.jndi.ldap.connect.pool.authentication" value="simple"/>
    <property name="com.sun.jndi.ldap.connect.pool.maxsize" value="64"/>
    <property name="com.sun.jndi.ldap.connect.pool.prefsize" value="32"/>
    <property name="com.sun.jndi.ldap.connect.pool.timeout" value="240000"/>
    <property name="com.sun.jndi.ldap.connect.pool.initsize" value="8"/>
    <system-properties>
    
  4. Save and close the file.
  5. Restart JBoss AS.