Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8176871

JNDI connection to LDAP over SSL is slow, pool seems not used

XMLWordPrintable

      Submitter noticed that a lot of time was spent on connecting to LDAP over SSL.

      There is a virtual IP for the SSL. There are two OID nodes in the backend. I used a simple JNDI program to repeat to build DirContext and do a simple query for 200 times.

      With SSL connection, it took 11 seconds.
      With non-SSL connection, it took 1 seconds.

      -Dcom.sun.jndi.ldap.connect.pool.debug=true option is used for both program.
      The debug message was only printed for non-SSL.

            coffeys Sean Coffey
            shadowbug Shadow Bug
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: