Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Calling java -jar ords.war uninstall with parameters.

Dafydd GriffithMar 16 2017 — edited Mar 23 2017

On a Solaris UNIX box, if I enter:

#java -jar ords.war uninstall

at the prompt, the program runs and I provide it with parameters, host name, port number, SID, sys password and apps password.

How do I script this?

In a Bash script I've tried (with pre defined parameters of course!):

/u10/staging/jre1.7.0_25/bin/sparcv9/java -jar ords.war uninstall <<EOF

$HOST_LOWER

$PORT_NUMBER

$SID_UPPER

$SYS_PASSWORD

$APPS_PASSWORD

EOF

and I get this:

Mar 16, 2017 5:29:05 PM oracle.dbtools.rt.config.setup.Uninstall execute

WARNING: Console is unavailable and required for Advanced installation

What am I doing wrong other than being an Oracle DBA/Developer, messing about with Java and Bash scripts?!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 20 2017
Added on Mar 16 2017
10 comments
1,181 views