Intermittent TNS-01153 And NL-00305 Using A JDBC Thin Connection To A 3-Node RAC Database (Doc ID 468068.1)

Last updated on NOVEMBER 02, 2017

Applies to:

JDBC - Version 9.2.0.5 and later
Information in this document applies to any platform.

Symptoms

In a production environment, an application runs in a version 1.5 JVM on a JBoss application server and connects to a version 10.2.0.3 3-node Real Application Cluster (RAC) database via JDBC/Thin 9.2.0.5 ojdbc14.jar. Server-side load balancing is enabled by specifying a value for REMOTE_LISTENER.

Intermittently users are disconnected from the application and JBoss must be restarted.

In the listener.log errors like this can be found:

    23-SEP-2007 02:37:56 * 1153
    TNS-01153: Failed to process string: (ADDRESS=(PROTOCOL=TCP)(HOST=server-vip)(PORT=1819))
    NL-00305: the specified path name does not exist


In the JBoss.log you can find errors like:

    2007-09-25 08:57:59,687 ERROR [org.hibernate.util.JDBCExceptionReporter] Could not create
    connection; - nested throwable: (java.sql.SQLException: Io exception: Connection
    refused(DESCRIPTION=(ERR=1153)(VSNNUM=169870080)(ERROR_STACK=(ERROR=(CODE=1153)   (EMFI=4)
    (ARGS='(ADDRESS=(PROTO =TCP)(HOST=server-vip)(PORT=1819))'))(ERROR=(CODE=305)  (EMFI=1))))); - nested
    throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested
    throwable: (java.sql.SQLException: Io exception: Connection
    refused(DESCRIPTION=(ERR=1153)(VSNNUM=169870080)(ERROR_STACK=(ERROR=(CODE=1153)(EMFI=4)
    (ARGS='(ADDRESS=(PROTOCOL=TCP)(HOST=server-vip)(PORT=1819))'))(ERROR=(CODE=305)  (EMFI=1))))))


No attempt was made to work around the issue by turning off server-side load balancing (by setting REMOTE_LISTENER to null).

The issue does not occur when the application runs in a 2-node RAC environment where the database is version 10.2.0.1 and where RAC is configured in what is thought to be an identical way.

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