~
I am using TC 4.1.36 and I need to set the directory where the
webapps and log files are located at run time in the catalina.sh
startup file as part of the JAVA_OPTS
~
JAVA_OPTS=$JAVA_OPTS:-Dconfig.webapps.dir=/media/sdb5/webapps
JAVA_OPTS=$JAVA_OPTS:-Dconfig.logs.dir=/media/sdb5/logs
~
and
Albretch Mueller wrote:
Host name=localhost
appBase={$config.webapps.dir}
debug=4
unpackWARs=true autoDeploy=true
~
Logger className=org.apache.catalina.logger.FileLogger
directory={$config.logs.dir}
prefix=localhost_log.
suffix=.txt