My Oracle Support Banner

JAVA_NAMING_PROVIDER_URL with Multiple Hosts Connections does not Failover, Gives Error when Primary is Down (Doc ID 2486530.1)

Last updated on JULY 21, 2020

Applies to:

Identity Manager - Version and later
Information in this document applies to any platform.


OIM API was set up to use the following setting for the JAVA_NAMING_PROVIDER_URL:


When the first host is down, connections do not failover to server2  Instead the following is seen in the OIM managed server diagnostic log:

.... <Class/Method: tcDataBaseClient/close encounter some problems: Could not establish a connection with <HOSTNAME1>:[<PORT>,<PORT>,-1,-1,-1,-1,-1]:<HOSTNAME1>:<PORT>,<HOSTNAME2>:<PORT>:IAMGovernanceDomain:..., java.rmi.ConnectException: Destination unreachable; nested exception is: Connection refused; No available router to destination; nested exception is:
  java.rmi.ConnectException: Destination unreachable; nested exception is:



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.