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 and later
Information in this document applies to any platform.


Application running in JBOSS and using JDBC 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

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.




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

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