My Oracle Support Banner

The Network Adapter could not establish the connection and java.lang.NullPointerException Errors While Making Connections To Oracle RAC With JDBC (Doc ID 1585008.1)

Last updated on MARCH 14, 2023

Applies to:

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

Symptoms

Application running in JBOSS and using JDBC 11.2.0.3 to connect to an 11gR2 RAC database fails intermittently with the following errors:

java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
java.lang.NullPointerException

The issue only occurs when using a connection pool.
When the JDBC driver jar file is included in the application war file, the error does not occur.
The errors are not particular to using SCAN; they also occur when the connection URL is pointing to a single node.

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
References


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