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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Running scripts on Windows from Oracle stored procedures

Re: Running scripts on Windows from Oracle stored procedures

From: Niall Litchfield <niall.litchfield_at_gmail.com>
Date: Thu, 26 Jan 2006 13:13:35 +0000
Message-ID: <7765c8970601260513y5628e6f5wb261c8c7945976e1@mail.gmail.com>


On 1/26/06, John Dunn <jdunn_at_sefas.com> wrote:
>
> Phil
>
> Thanks for that.
>
> I suspected that java was the way to go.
>
> One complication I do have is that some of the script to be run are on
> servers other than the database server.
>
> I presume I could use some form of rsh/ssh to run them...but do you know
> of
> a better option?

That will indeed be an issue, both for the java route and the extproc route (which is the way i'd try to do it). The Oracle process will run in the security context of the localsystem account on the database server. This will not have rights on the remote server. It sounds to me as though there might be a better solution to the business problem than the technical route you are currently going down. Is there any chance of describing what it is that those scripts are designed to do?

--

> Niall Litchfield
> Oracle DBA
> http://www.niall.litchfield.dial.pipex.com
-- http://www.freelists.org/webpage/oracle-l
Received on Thu Jan 26 2006 - 07:13:35 CST

Original text of this message

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