OAM 11gR2 PS2: OAM Identity Store LDAP Connections, the Minimum Pool Size Can Go to Smaller Values (Doc ID 2065784.1)

Last updated on JULY 03, 2017

Applies to:

Oracle Virtual Directory - Version 11.1.1.4.0 and later
Oracle Access Manager - Version 11.1.2.2.0 and later
Information in this document applies to any platform.

Symptoms

OAM 11gR2 PS2 (OAM 11.1.2.2.0+)

Architecture : OAM -> FW -> OUD Proxy -> OUD (4 nodes)

Issue: After a certain time, OAM is no longer able to get answer from OUD with the error :

" Remote Server Failure:{0}.[[ javax.naming.NamingException: LDAP response read timed out, timeout used:15000ms.; remaining name 'cn=users,o=external firms,dc=xyz,dc=xyz,dc=xyz' "

During the issue, no connection is seen from the OUD side.

 

In OAM configuration, a new OUD Identity Store has "Connection Details" -> "Minimum Pool Size" -> 10

Immediately after start or after a use of this store (accessing resource e.t.c. ), we can see 10 connections (or more)

A "netstat -an | grep <1389>" can confirm this for example.

But, after some time if no activity occurs, then the connections can decrease to zero, or even there will remain only 1-2 connections opened.

Note:
-----
* The issue does not seem to happen on a base OAM 11.1.2.2.0 system, on which it seems to have quite a few more than the minimum setting of 10 connections. Or at least it has not dropped below 10, regardless of the inactivity time observed on the system.

** But after applied any further BP as on top of OAM 11.1.2.2.0 (like with BP01+), and then accessed a resource and got the ldap connections.
Then if we wait for some minutes without any activity (say approx. 5 minutes), we could see the connections go into a TIME_WAIT status and then were dropped back down to 1 or 2.

*** If deinstalled the BP (like BP01+), then the netstat outputs would now show the 10+ connections as set for the minimum connection pool setting.


Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms