Re: java.io.FileNotFoundException: Permission denied

From: bung ho <bung_ho_at_hotmail.com>
Date: 16 Jan 2003 11:57:52 -0800
Message-ID: <567a1b1.0301161157.b606894_at_posting.google.com>


anshumehta <member22732_at_dbforums.com> wrote in message news:<2395501.1042700004_at_dbforums.com>...
> Hi All,
> I am running a Java Stored Procedure in oracle and when i m
> trying to read a file on drive G in a folder RND(G drive is
> mapped to c: of some other system) then its throwing an error
> "java.io.FileNotFoundException: Permission denied" in oracle.I
> have granted read write permission to My DB User by execuiting
> the following
> execute dbms_java.grant_permission(
> 'MYDBUSER-NAME','SYS:java.io.FilePermission',
> 'G:\RND', 'read,write');
>
> But still its throwing the same error its working fine for reading file
> on local drive.
>
> Anybody can please help me in resolving this
> Please send me the solution asap
>
> Thanks
> Anshu Mehta

http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:241814624807 Received on Thu Jan 16 2003 - 20:57:52 CET

Original text of this message