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 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 this expected behaviour?
> TC4.1.24
> 
> ../webapps/myapp/WEB-INF/classes/myapp.properties:
> log1=$CATALINA_HOME/logs/myapp.log
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to