My Oracle Support Banner

Oracle DB Queries Failing With Protocol Violation Error (Doc ID 2866020.1)

Last updated on AUGUST 09, 2023

Applies to:

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

Symptoms

On : 12.1.0.2 version, RDBMS
Application using JDBC 12.1.0.1 (ojdbc7.jar) and connecting to a database version 12.1.0.2 fails intermittently with "java.sql.SQLException: Protocol violation: [ 0, ]"

A simple query such as "SELECT 1 FROM DUAL" may result in the following stack:

 The application uses a connection pool and is running in a virtual machine.

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.