RAC: (ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4) Could Not Open Connection

(Doc ID 411979.1)

Last updated on SEPTEMBER 09, 2016

Applies to:

Oracle Application Install - Version 11.5.9 to 11.5.10.2 [Release 11.5 to 11.5.10]
Information in this document applies to any platform.
Application Install - Version: 11.5.9 to 11.5.10.2
***Checked for relevance on 29-Dec-2012***

Symptoms

In multi-node Oracle Applications environment with RAC:

When attempting to apply any Patch to Apps node,
the following error occurs on LoadJavaMain.

ERROR

Calling <COMMON_TOP>/util/jre/1.1.8/bin/jre ...
All processing successful; exiting with status 0

Net8 name-value connect string is:
(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=<RAC_host_1.domain>)(PORT=<DB_PORT>))(ADDRESS=(PROTOCOL=tcp)(HOST=<RAC_host_2.domain>)(PORT=<DB_PORT>)))(CONNECT
_DATA=(SERVICE_NAME=<SERVICE_NAME>)(CID=(PROGRAM=)(HOST=<Apps_tier_host.domain>)(USER=applmgr))))


DB Address is:
(ADDRESS=(PROTOCOL=tcp)(HOST=<RAC_host_1.domain>)(PORT=<DB_PORT>))

CONNECT_DATA is:
(CONNECT_DATA=(SERVICE_NAME=<SERVICE_NAME>)(CID=(PROGRAM=)(HOST=<Apps_tier_host.domain>)(USER=appl
mgr)))


SERVICE_NAME/INSTANCE_NAME : [<SERVICE_NAME>]


connect_string :
[(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<RAC_host_1.domain>)(PORT=<DB_PORT>))(CONNECT_DATA=(SERVI
CE_NAME=<SERVICE_NAME>)))]

Loading contents of archive file into database with arguments

-mx256m -nojit oracle.aurora.server.tools.loadjava.LoadJavaMain -f -thin -user
"APPS/*****@<RAC_host_1.domain>:<DB_PORT>:<SERVICE_NAME>"
/u765/app/appl/admin/u765_BALANCE/out/p001ldjva.jar


  Calling <COMMON_TOP>/util/jre/1.1.8/bin/jre ...
SQL Error while connecting with thin driver to <RAC_host_1.domain>:<DB_PORT>:<SERVICE_NAME>:
Io exception: Connection
refused(DESCRIPTION=(TMP=)(VSNNUM=169869824)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
could not open connection
loadjava: 2 errors

AD Worker error:
The above program failed.  See the error messages listed
above, if any, or see the log and output files for the program.

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