My Oracle Support Banner

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

Last updated on AUGUST 09, 2023

Applies to:

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

Symptoms

 This error occurs on a JDBC/thin application in a JDK 1.6  JDBC/thin 11.2.0.3 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.

Changes

 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.

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.