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?

This feature isn't in TC4.1.x (it is in 5.x and 6.x).

If you are happy building 4/1/x from source then you need to apply this patch:
http://people.apache.org/~rjung/patches/replace_system_properties_20071018a.patch

This will probably make it into 4.1.37 but there are no plans for a 4.1.37
release in the near future.

Mark

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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"
~
 and then in the $TOMCAT_HOME/conf/server.xml file
~
 I need to set it like this:
~
 
~
 
~
 How can you do that?
~
 Thanks
 lbrtchx

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]