~
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 then in the $TOMCAT_HOME/conf/server.xml file
~
I need to set it like this:
~
<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"
timestamp="true"/>
~
How can you do that?
~
Thanks
lbrtchx
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]