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


On : version, RDBMS
Application using JDBC (ojdbc7.jar) and connecting to a database version 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.


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.