My Oracle Support Banner

Stream has Already been Closed Error at LongRawAccessor.getBytes (Doc ID 1504282.1)

Last updated on NOVEMBER 05, 2021

Applies to:

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


 This error occurs on a JDBC/thin application in a JDK 1.6  JDBC/thin environment that is running on multiple instances of an application server.

The query involved is accessing a LONG RAW column and is in the process of retrieving the column content from the result set.

The error occurs during failover testing of the application server instances. The first application instance is abruptly terminated while the query is in process.  The second application instance immediately attempts to redo the same query and attempt to retrieve once again the same content as before.


 Issue triggered by the application server instance failover and is thought to have been triggered by a concurrency issue, having the same LONG RAW content accessed simultaneously  from 2 different connections.


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.