By default, secure sockets layer (SSL) connections to lightweight
directory access protocol (LDAP) servers are not pooled in the application
server Java™ Virtual Machine
(JVM). Non-pooled SSL connections can adversely affect the speed of
a Workplace logon when Content Platform Engine is configured
for SSL.
Complete the following procedure to enable LDAP connection
pooling on JBoss Application Server.
(UNIX only)
Use escape characters for quotation marks and put the JAVA_OPTS variable
in quotation marks when starting Java.
(For bash shell, you can use backslash (\) to escape quotation marks.)
- Stop JBoss Application Server.
- Locate either the run.bat (Windows)
or the run.sh (UNIX) file, which are typically
located in the JBoss_HOME/bin directory.
- Add the following system properties to the JAVA_OPTS variable:
- -Dcom.sun.jndi.ldap.connect.pool.initsize=20
- -Dcom.sun.jndi.ldap.connect.pool.maxsize=20
- -Dcom.sun.jndi.ldap.connect.pool.prefsize=10
- -Dcom.sun.jndi.ldap.connect.pool.timeout=300000
- -Dcom.sun.jndi.ldap.connect.pool.protocol="plain ssl"