tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier (tomcat)>
Subject property replacement in WEB-INF/web.xml
Date Wed, 13 Jan 2016 14:36:27 GMT
Hi gurus.

Under tomcat 8 and Linux, I am deploying an externally-provided web application, which in

its web.xml configuration file, has a parameter like this :


This works, but I would like to make this more "generic", and would like to replace the 
above param-value by something like this :


with CATALINA_BASE being the well-known environment value set prior to starting (the JVM 
which runs) Tomcat (and "${CATALINA_BASE}/logs" being actually a link which points to 
"/var/log/tomcat8" in this case).

Can I do this ? and if yes, what is the exact way to do this right ?

(In a log4j configuration file, I can use "${env:CATALINA_BASE}" for this, but this is not

available under Tomcat, or is it ?)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message