psadmin silent mode
I have a script that calls psadmin to start the appserver and pia. If I
run the script from an xterm it works fine, but does not work if I
redirect stdout to a file. I do not see any silent mode option with
psadmin. How can I run these commands quietly without a terminal?
Thanks.
$ cat test.sh
psadmin -w start -d peoplesoft
$ /bin/sh test.sh >& file.log
$ cat file.log
Starting the domain
General Exception: null
java.lang.NullPointerException
at com.peoplesoft.pt.psadmin.ui.Progress.<init>(Progress.java:135)
at com.peoplesoft.pt.psadmin.ui.Progress.getInstance(Progress.java:123)
$ cat test.sh
psadmin -w start -d peoplesoft
$ /bin/sh test.sh >& file.log
$ cat file.log
Starting the domain
General Exception: null
java.lang.NullPointerException
at com.peoplesoft.pt.psadmin.ui.Progress.<init>(Progress.java:135)
at com.peoplesoft.pt.psadmin.ui.Progress.getInstance(Progress.java:123)
0