IBM Support

How can LDAP connection pooling be configured in WebSphere Application Server with Standalone LDAP repository

Question & Answer


WebSphere Application Server Standalone LDAP repository does not provide management for LDAP connection pooling. While the application provider must manage LDAP connections in the application code itself, there are several JVM level properties that can be set to assist in this connection management.


In some instances, an application making and using its own connections to the LDAP server (for example, IBM Directory Server) might experience slowdowns in performance under heavy load. This is because the connections to LDAP server are not timed out after they are closed.


To resolve this situation, it is necessary to set parameters at the JVM command line level which define the LDAP connection pooling properties:

For example:


From the WebSphere Application Server Administrative Console:

  1. Click on Servers -> Application Servers -> <server_name> -> Process Definition -> Java Virtual Machine ->
    In the 'Generic JVM arguments' field, enter each of the above properties separated with a space.
  2. Click OK, save and synchronize the configuration, and then restart the server.

These parameters are documented in the following Java documentation:

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU004","label":"Hybrid Cloud"},"Component":"DB Connections\/Connection Pooling","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5;8.0;7.0;6.1","Edition":"Edition Independent"},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU004","label":"Hybrid Cloud"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":""}]

Document Information

Modified date:
15 June 2018