The main ASF Bugzilla instance will be unavailable for 4 hours starting 19.00 UTC 2016-10-29 for an upgrade to 5.0.3
Bug 47656 - Documentation on server configuration should include note about ant-style variable substitution
Documentation on server configuration should include note about ant-style var...
Product: Tomcat 5
Classification: Unclassified
Component: Webapps:Documentation
PC All
: P2 minor (vote)
: ---
Assigned To: Tomcat Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2009-08-06 14:37 UTC by Rodney
Modified: 2009-12-11 05:48 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Rodney 2009-08-06 14:37:42 UTC
The 3.3 documentation mentioned that ant-style variable substitution was available in the server.xml configuration.

The documentation for 5.5 (and 6.0) doesn't seem to mention that anywhere.  It should be included.  Something like:

Configuration attribute values may use variable substitution (aka dynamic variable values or system property variable values).

The syntax for doing so is ${varname}

Valid variable names come from any system properties (JVM Option) that are available at the time.  Values are only resolved once and not updated until the server is restarted.
Comment 1 Mark Thomas 2009-12-11 05:48:23 UTC
Thanks for the report. I have added some text to the docs for trunk 6.0.x and 5.5.x which will be included in 7.0.0 onwards, 6.0.21 onwards and 5.5.29 onwards.