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 11.1.2.2.9 and later
Information in this document applies to any platform.

Symptoms

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

JAVA_NAMING_PROVIDER_URL=t3://<HOSTNAME1:PORT>/<HOSTNAME2:PORT>/<SID>


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:
  java.net.ConnectException: Connection refused; No available router to destination; nested exception is:
  java.rmi.ConnectException: Destination unreachable; nested exception is:
.
.

 

Cause

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
Symptoms
Cause
Solution


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