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

Home -> Community -> Usenet -> c.d.o.server -> Java stored proc that uses Runtime.getRuntime().exec("a shell command")

Java stored proc that uses Runtime.getRuntime().exec("a shell command")

From: <ronb1234_at_my-deja.com>
Date: Tue, 29 Jun 1999 23:21:36 GMT
Message-ID: <7lbkdl$uko$1@nnrp1.deja.com>


Has anyone coded a Java stored procedure were getRuntime.exec( ) works?

What I want/need to do is code a database startup trigger that will start the conText server (i.e. ctxsrv).

When getRuntime().exec("some command") is executed, nothing happens. It just goes to the next statement regardless of the command you want to execute (much less 'ctxsrv'!!!).

Any ideas?

Ron Bogdanoff

Sr Software Engineer
Digital Market Inc.

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Tue Jun 29 1999 - 18:21:36 CDT

Original text of this message

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