Re: JAVA file permissions
Date: 7 Jul 2009 08:51:42 -0700
Message-ID: <4a536f0e$1_at_news.victoria.tc.ca>
CenturionX (darwinbaldrich_at_gmail.com) wrote:
: Hello,
: I'm working with ORACLE 10.2.0.4.0 on windows server 2003 R2.
: I need to execute a DOS batch file. I used some code i found in the
: web (see the code below).
: When i try to give permission to execut ethe file:
: EXEC DBMS_JAVA.grant_permission('CMS',
: 'SYS.java.io.FilePermission', 'K:\Mesr\DBP_EXEC_FROM_ORA\',
: 'read ,write, execute');
: I get this error:
: ORA-29532: Java call terminated by uncaught Java exception:
: java.lang.ClassNotFoundException: sys/java/io/filepermission
: ORA-06512: at "SYS.DBMS_JAVA", line 313
: ORA-06512: at line 1
The error says that the class sys/java/io/filepermission does not exist.
I think the class name is probably what is wrong, perhaps that should be java.io.filepermission Received on Tue Jul 07 2009 - 10:51:42 CDT