Re: set env. variables in tomcat's running JVM

2007-12-25 Thread Mark Thomas
Albretch Mueller wrote: > appBase="{$config.webapps.dir}" >debug="4" >unpackWARs="true" autoDeploy="true"> > ~ >directory="{$config.logs.dir}" > prefix="localhost_log." > suffix=".txt" > timestamp="true"/> > ~ > How can you do that?

set env. variables in tomcat's running JVM

2007-12-25 Thread Albretch Mueller
~ 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" ~