Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54A8749BA for ; Wed, 15 Jun 2011 14:07:20 +0000 (UTC) Received: (qmail 30376 invoked by uid 500); 15 Jun 2011 14:07:16 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 30329 invoked by uid 500); 15 Jun 2011 14:07:16 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 30320 invoked by uid 99); 15 Jun 2011 14:07:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 14:07:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of knst.kolinko@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qw0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2011 14:07:11 +0000 Received: by qwj8 with SMTP id 8so365401qwj.18 for ; Wed, 15 Jun 2011 07:06:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=4ihA4MiJ1AGNk+Il+YMkJ6GxiiQdUtEJGAGDLtedVi8=; b=qAZhwLf9+HKBz6CvzZi6gPriQtpJ6T41lBHiXpwHn2qoid2IJdeMLP1SVKmLzrUAz0 RtDOVkMpW22+WaTRKXNEBc+2DZDvuTPhFyKfI1YJpsHuK1tzTrqzlVDFURQEqFyqUJxv ctUACSGAndv4PEbir3PWbo/EPSHg5AsxfN1uc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=NitlfVMwAgpMyvKS24Z/wFLRe99A+FtoEMxtRX8jQe1oNBDKeC2s1e2MyxFy/JhPTY p4HbkrFcB4qLGt0Os8gOusJ8/FltYjwsOaRK8TDLybkB87GTuHP6iqxZZIBh4OqDretA whAM+c5ojSa6xxu54mVY+n9mJLoZA2Nnje7i0= MIME-Version: 1.0 Received: by 10.52.95.131 with SMTP id dk3mr653055vdb.180.1308146808940; Wed, 15 Jun 2011 07:06:48 -0700 (PDT) Received: by 10.52.162.73 with HTTP; Wed, 15 Jun 2011 07:06:48 -0700 (PDT) In-Reply-To: References: <4DC9A091.40908@christopherschultz.net> <4DCA96CC.90603@christopherschultz.net> Date: Wed, 15 Jun 2011 18:06:48 +0400 Message-ID: Subject: Re: tomcat 7: common.loader property in catalina.properties does not take ANT style variable From: Konstantin Kolinko To: Tomcat Users List Content-Type: text/plain; charset=ISO-8859-1 2011/5/11 Yongqin Xu : > > 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 : >> >> 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