My Oracle Support Banner

Application Termination Using Failover OID Server for LDAP Naming (Doc ID 360975.1)

Last updated on FEBRUARY 22, 2019

Applies to:

Oracle Net Services - Version to [Release 9.0.1 to 10.2]
Information in this document applies to any platform.



OID & Database

Some C applications programs generated by Pro*C lose their connection after a few minutes when using a failover LDAP Server during name resolution.

In LDAP.ORA, customer has:

DIRECTORY_SERVERS = (<oid_hostname1>:389:636,<oid_hostname2>:389:636,<oid_hostname3>:389:636)

If the OID Server, '<oid_hostname1>' is available and used for name resolution by the C applications programs, the application works fine.

However, if '<oid_hostname1>' is not available and the next OID '<oid_hostname2>' is used for name resolution by the C applications program, the connect string is resolved and the application is able to connect to the database, but after 15min the application is terminated.

The issue was verified setting Oracle Net tracing on the client.  The resultant file showed the client connection being closed after 15 minutes after the Net Service Name is request was resolved using the second LDAP server, <oid_hostname2>.com:389.




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.