Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Oracle 8i - using java stored procedures

Oracle 8i - using java stored procedures

From: Venu Jadcherla <venuj_at_mycfo.com>
Date: Wed, 29 Sep 1999 15:28:40 -0700
Message-ID: <7su3nu$p9q$1@node17.cwnet.frontiernet.net>


I am trying to execute an operating system command from a Java stored procedure (Oracle 8i) and it seems like the command is  not getting executed. The command is accessible to the "Oracle" user.

Here is the java code that does that. I am using the java.lang.Runtime class.

           Process proc;
           proc = Runtime.getRuntime().exec("cp test.tif test2.tif");

Am I missing something here? The same function works fine outside the oracle server using the Sun VM.

Thanks,
Venu

venuj_at_mycfo.com Received on Wed Sep 29 1999 - 17:28:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US