Loadjava fails to connect to RAC instance : ORA-12505

(Doc ID 579976.1)

Last updated on APRIL 09, 2018

Applies to:

Portal - Version 9.0.4.0.99 and later
Information in this document applies to any platform.
Checked for relevance on 26-Aug-2015

Symptoms

Loading the class file SSOHash.class with loadjava fails with ORA-12505 errors when the Portal metadata repository is installed in a RAC database:

/opt/oracle/product/as10g/midtier2/bin/loadjava -force -resolve -thin -user
PORTAL/password@<HOSTNAME>:1521:asdb.acme.org SSOHash.class

The error message is:

SQL Error while connecting with thin driver to <HOSTNAME>:1521:asdb.acme.org:
Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
<HOSTNAME>:1521:asdb.acme.org
exiting : could not open connection

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