java.sql.SQLException: ORA-20121 and ORA-29283 When Calling PL/SQL Procedure (Doc ID 1501948.1)

Last updated on SEPTEMBER 01, 2014

Applies to:

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

Symptoms

A stored procedure that generates a file is created in a RAC database with several nodes. When it is called from a J2EE application using Oracle JDBC driver, it fails with error:

Internal Exception: java.sql.SQLException: ORA-20121: Error en <stored procedure name>: -29283, ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 536
ORA-29283: invalid file operation
ORA-06512: at "<stored procedure name>", line 124 

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms