My Oracle Support Banner

java.sql.SQLException Error Code: 17002 and IO exception: Got minus one from a read call When Establishing Connection Using Oracle JDBC Driver (Doc ID 763837.1)

Last updated on FEBRUARY 06, 2024

Applies to:

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

Symptoms

Trying to establish a connection from DbVisualizer using JDBC Thin against an Oracle Server fails with:

An error occurred while establishing the connection.
Type: java.sql.SQLException Error Code: 17002
Message:
Io exception: Got minus one from a read call



The same error is obtained from other JDBC applications, not only DBVisualizer.

Listener.log shows the following errors:

 

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.