-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Konstantin,

On 5/10/2011 4:50 PM, Konstantin Kolinko wrote:
> 2011/5/11 Christopher Schultz <ch...@christopherschultz.net>:
>> On 5/10/2011 3:05 AM, Konstantin Kolinko wrote:
>>> IIRC, catalina.properties file does not support substitution for
>>> anything, besides those two specific properties, "catalina.home" and
>>> "catalina.base".
>>
>> The documentation suggests otherwise:
>>
>> http://tomcat.apache.org/tomcat-7.0-doc/config/index.html
>>
>> "
>> Tomcat configuration files are formatted as schemaless XML; elements (...)
> 
> The said file is not an XML one. The above quote is not applicable.

Upon second reading of that passage, you're right: though
catalina.properties is mentioned, it's (somewhat) clear than it can be
used to /define/ properties, but does not enjoy the
system-property-replacements used in those other files.

It makes sense, given that otherwise there would be a terrible circular
logic problem when reading catalina.properties. I suppose, eventually,
you'd either evaluate all system properties or detect a loop and could
bail-out.

If this seems like something the community would like, I wouldn't mind
writing a patch to allow this type of thing.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3KlswACgkQ9CaO5/Lv0PCt6gCfcVCUB9mqcPe61sWY+MQAVzUy
sXUAoK8WOU4w9R7lu8+FE0jaJw/sbkC0
=QET0
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to