My Oracle Support Banner

Database Connectivity Over TLS 1.2 Using JDBC 12C Fails With "IO Error: No appropriate protocol" (Doc ID 2186385.1)

Last updated on AUGUST 05, 2022

Applies to:

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

Symptoms

When testing a sample java program to connect to 12c oracle database and TLS 1.2 using JDBC thin client 12.1.0.2 and JDK 1.8, the following error is obtained:
"IO Error: No appropriate protocol".

The patched version of ojdbc7.jar was downloaded from OTN to use TLSv2 per <Document 2122800.1> "IO Error: No appropriate protocol" When Trying to Connect to Oracle Database 12.1 with TLSv1.1 and TLSv1.2 Protocols.

 

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