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...
Status: RESOLVED FIXED
Product: Tomcat 5
Classification: Unclassified
Component: Webapps:Documentation
5.5.27
PC All
: P2 minor (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2009-08-06 14:37 UTC by Rodney
Modified: 2009-12-11 05:48 UTC (History)
0 users



Attachments

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.