My Oracle Support Banner

Cannot Establish Connection (Error Code: 17002) Randomly With JDBC Thin Driver (Doc ID 357445.1)

Last updated on FEBRUARY 03, 2019

Applies to:

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


When using the ORACLE  JDBC thin driver  to access a database server instance, it  fails with the following Exception:

java.sql.SQLException: Io exception: The Network Adapter could not establish the connection

This happens when looping on the following sequence :

After executing N times (randomly) this sequence of code fails at connection time.


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.