Previous Topic: Specifying LDAP Pool Options Using Managed ServerNext Topic: Enabling Apache Tomcat Security Manager


JBoss Application Server

Perform the following steps to create an LDAP connection pool:

  1. Navigate to the following location:
    <JBOSS_HOME>/server/<Profile>/deploy/
    
  2. Open properties-service.xml file in a text editor.
  3. Add the following properties to the <attribute name="Properties"> section:
  4. Save and close the file.
  5. Restart JBoss Application Server.

JBoss

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.