My Oracle Support Banner

Reading BFILE In Database Directory on ACFS Fails with ORA-22288 (Doc ID 2221568.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Microsoft Windows x64 (64-bit)


On Windows Systems, Reading a BFILE within a Database Directory within an ACFS Filesystem fails with ORA-22288:

D:\testcase>java BFILEReader TESTCASE_1 alert.xml
Exception in thread "main" java.sql.SQLException: ORA-22288: file or LOB operation GETLENGTH failed
The system cannot find the file specified.
; error code=22288
at BFILEReader.<init>(
at BFILEReader.main(


The ORA-22288 will also be reported when accessing external tables on ACFS or when accessing files via dbms_lob on ACFS



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.