My Oracle Support Banner

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

Last updated on MAY 15, 2023

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=<HOST>)(PORT=<PORT>))
    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=<HOST>)(PORT=<PORT>))'))(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=<HOST>)(PORT=<PORT>))'))(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.

Changes

 

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
Changes
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.