tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Euan Guttridge <EGuttri...@buildonline.com>
Subject RE: use of $CATALINA_HOME inside webapp
Date Mon, 07 Jun 2004 11:05:11 GMT
Thanks, that works - but I don't understand why. What was wrong with using
an environment variable?


-----Original Message-----
From: Tim Funk [mailto:funkman@joedog.org]
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message