tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: tomcat 7: common.loader property in catalina.properties does not take ANT style variable
Date Wed, 15 Jun 2011 14:06:48 GMT
2011/5/11 Yongqin Xu <yongqxu@hotmail.com>:
>
> I would love to see that happen. thanks.
>
>> Date: Wed, 11 May 2011 10:01:48 -0400
>> From: chris@christopherschultz.net
>> To: users@tomcat.apache.org
>> Subject: Re: tomcat 7: common.loader property in catalina.properties does not take
ANT style variable
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Konstantin,
>>
>> On 5/10/2011 4:50 PM, Konstantin Kolinko wrote:
>> > 2011/5/11 Christopher Schultz <chris@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

https://issues.apache.org/bugzilla/show_bug.cgi?id=50677#c5
Implemented and will be in 7.0.17.

Best regards,
Konstantin Kolinko

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


Mime
View raw message