tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yongqin Xu <yong...@hotmail.com>
Subject RE: tomcat 7: common.loader property in catalina.properties does not take ANT style variable
Date Wed, 11 May 2011 19:21:10 GMT

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
> -----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-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message