"due to the fact System.out.println(...) is dead."
For my installation, System.out and System.err are under the
control of /bin/java. So I start ApJ manually out of a bash
shell script (I don't know redirection tricks in the bourne shell...)
like this:
#!/usr/local/bin/bash
# set up the CLASSPATH and LD_LIBRARY_PATH....
PROPS=/opt/jserv10b3/conf/jserv.properties
LOG=/opt/jserv10b3/logs/jserv.log
java -classpath $CLASSPATH org.apache.jserv.JServ $PROPS > $LOG 2>&1 &
> $LOG says "write stdout to here"
and
2>&1 says "write stderr to the same place as stdout"
With this, both stdout and stderr go to the standard jserv log.
(I don't know how to find the results of log (), however.)
- Paul
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]