Solved

ORA-22288: file or LOB operation FILEOPEN faile

Posted on 2006-07-15
2
2,482 Views
Last Modified: 2007-12-19
I tried to execute the following sql script in Oracle satabase environment which hosted in Unix server, i hit the problem at below error message. Please advice what to do resolve it. I am not a unix person. Thank you.

Sql Script :
----
create or replace
 java class
 using bfile (runtime_classes,'DatabaseStoredFunctions.class');
/
commit;

create or replace
 function generate_key( nSize IN number )
 return varchar2
 as language java
 name 'com.lgc.dws.dt.util.DatabaseStoredFunctions.generateKeyBySize( int ) return java.lang.String';
/
commit;

create or replace
 function get_color_number( colorName IN varchar2 )
 return number
 as language java
 name 'com.lgc.dws.dt.util.DatabaseStoredFunctions.getColorNumber( java.lang.String ) return int';
/
commit;

create or replace
 function radians( degrees IN number )
 return number
 as language java
 name 'com.lgc.dws.dt.util.DatabaseStoredFunctions.getRadians( double ) return double';
/
commit;


create or replace
 function get_yes_no( yesno IN number )
 return varchar2
 as language java
 name 'com.lgc.dws.dt.util.DatabaseStoredFunctions.getYesNo( java.lang.Integer ) return java.lang.String';
/
commit;


create or replace
 function get_is_tight( istight IN number )
 return varchar2
 as language java
 name 'com.lgc.dws.dt.util.DatabaseStoredFunctions.getIsTight( int ) return java.lang.String';
/
commit;


create or replace
 function get_well_coord_type( coordType IN number )
 return number
 as language java
 name 'com.lgc.dws.dt.util.DatabaseStoredFunctions.getWellCoordType( int ) return int';
/
commit;
---------

Error message:
==========
ERROR at line 3:
ORA-22288: file or LOB operation FILEOPEN failed
No such file or directory
0
Comment
Question by:netcool
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 19

Expert Comment

by:actonwang
ID: 17114109
>>create or replace
 java class
 using bfile (runtime_classes,'DatabaseStoredFunctions.class');
/


do you have a directory object runtime_classes? if no, you have to create it first using :

create directory runtime_classes as '<your directory>';

first

0
 
LVL 19

Accepted Solution

by:
actonwang earned 125 total points
ID: 17114110
also make sure if there is DatabaseStoredFunctions.class file under the directory.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to recover a database from a user managed backup
Suggested Courses

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question