Re: use of $CATALINA_HOME inside webapp

2004-06-07 Thread QM
On Mon, Jun 07, 2004 at 12:05:11PM +0100, Euan Guttridge wrote: : Thanks, that works - but I don't understand why. What was wrong with using : an environment variable? It's the same reason ${catalina.home} doesn't evaluate to anything on the commandline: they're different, separate environments.

RE: use of $CATALINA_HOME inside webapp

2004-06-07 Thread Euan Guttridge
Thanks, that works - but I don't understand why. What was wrong with using an environment variable? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 07 June 2004 11:55 To: Tomcat Users List Subject: Re: use of $CATALINA_HOME inside webapp You need t

Re: use of $CATALINA_HOME inside webapp

2004-06-07 Thread Tim Funk
You need to use ${catalina.home} (if your properties file gets expanded.) -Tim Euan Guttridge wrote: I tested using $CATALINA_HOME instead of an absolute path in a property file in a webapp. This did not work - the log the app was supposed to create to was never created. An absolute path works. Is

use of $CATALINA_HOME inside webapp

2004-06-07 Thread Euan Guttridge
I tested using $CATALINA_HOME instead of an absolute path in a property file in a webapp. This did not work - the log the app was supposed to create to was never created. An absolute path works. Is this expected behaviour? TC4.1.24 ../webapps/myapp/WEB-INF/classes/myapp.properties: log1=$CATALINA