In the Admin UI we can enable connection pooling for ActiveDirectory. We enabled this pool as the connection setup to our AD is very slow and ivy Public API seems to call AD frequently. But it seems like the enabling of the pool doesn't speed up anything.

How can we track and trace if the pool is working? alt text

asked 05.03.2015 at 12:55

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
accept rate: 77%

Unfortunately the connection pool that you activated is poorly configured by default and is therefore nearly pooling nothing. You can re-configure the pool behaviour by jvm system properties that are documented here: .

The Java System Properties can be set in jvm.options file.

Note: Before 7.4 you need to this in the .ilc file on windows and in .conf file for linux. See the engine guide for ILC reference.

  • You can enable the jndi trace logging with the property
    -Dcom.sun.jndi.ldap.connect.pool.debug=all alt text
  • From a pool you might expect that it always re-used already created connections if they are idle. But this pool doesn't. To realy enable this feature i made good experiences by setting the property
    -Dcom.sun.jndi.ldap.connect.pool.prefsize=-1 alt text
  • Another reason why your pool might is not working is SSL. SSL connections are for security reasons not pooled by default. If the debug property is enabled you get a clear message with that info. However you can enable SSL connection pooling with the following option.
    -Dcom.sun.jndi.ldap.connect.pool.protocol=ssl alt text

answered 05.03.2015 at 12:56

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

edited 02.09.2019 at 05:34

Alex%20Suter's gravatar image

Alex Suter ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 05.03.2015 at 12:55

Seen: 6,812 times

Last updated: 02.09.2019 at 05:34