Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #16926

Re: Execute python within Oracle

References <CAAcacLznfsp2_ftrD5RbE1ppNUiz5JmmnH5c5BWJ1sXDtK6RVA@mail.gmail.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date 2011-12-09 10:50 -0700
Subject Re: Execute python within Oracle
Newsgroups comp.lang.python
Message-ID <mailman.3481.1323453069.27778.python-list@python.org> (permalink)

Show all headers | View raw


2011/12/9 André Lopes <andrecrash3r@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Execute python within Oracle Ian Kelly <ian.g.kelly@gmail.com> - 2011-12-09 10:50 -0700

csiph-web