Execute python within Oracle

Ian Kelly ian.g.kelly at gmail.com
Fri Dec 9 12:50:31 EST 2011


2011/12/9 André Lopes <andrecrash3r at gmail.com>:
> Hi all,
>
>
>
>    I wrote a simple Java program to be called within an Oracle database. The
> goal is to execute a Python program within the DB itself, by the means of a
> Java program. The problem is that when I execute the procedure inside the
> DB, nothing happens…
>
>
>
>    If I create the same Java class outside the DB and execute it, the python
> program works perfectly, only inside the DB nothing happens. The program is
> the following.

Have you granted the necessary permissions to execute programs from Java?

http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:952229840241

Note that article is for Oracle 8, I'm not sure whether the
permissions might have changed since then.

Cheers,
Ian



More information about the Python-list mailing list