Posted on 2011-10-05
Last Modified: 2012-08-13
Hello All,

I have a file at network called //CCEdit/english/my.txt. I have a javastoredprocedure, (basically a java class loaded as a function).
When I execute the procedure it says the Permission ( /CCEDIT/english/my.text read),

Even if I have executed the
dbms_java.grant_permission( 'SCOTT', '', '/CCEDIT/english/my.text', 'read' ). It still complains for the same error.
Question by:dojjol
    LVL 76

    Expert Comment

    by:slightwv (䄆 Netminder)
    Does oracle have read access on it?

    ls -al /CCEDIT/english/my.text

    Author Comment

    u mean oracle user or oracle.
    LVL 76

    Accepted Solution

    The OS owner of the oracle software.
    LVL 34

    Expert Comment

    by:Mark Geerlings
    Is that one leading slash ("/") or two ("//")?  You used both in different places in your question.

    The owner (the O/S user account) of the Oracle database software will need to have read permission on this file before you can grant permission in the database with dbms_java.  From the database server, does the owner of the Oracle software have permission to see and read this file?  

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
    Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
    This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
    This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

    755 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now