On 07 Feb 2011, at 13:52, Grégory Joseph wrote:

> 
> Just chiming in with a side remark that has nothing to do with clustering per 
> se:
> On 07 Feb 2011, at 13:46, Dertinger, Matthew wrote:
>> 
>> Unfortunately, I don’t think that replacement values for ${servername} or
>> ${webapp} will get resolved from within the repo-conf files (i.e.
>> cid_${servername}).
> 
> Actually, those files should be interpolated - ${magnolia.servername} should 
> be substituted with the host name; the value for it is logged at startup, too.

Argh, my bad. WEB-INF/config/default/repositories.xml (or whatever file is 
configured by magnolia.repositories.config) is interpolated.

The repo-conf files are loaded as-is by Jackrabbit itself. Luckily, Jackrabbit 
interpolates them with System properties, and since MAGNOLIA-2840, "servername" 
is exposed as a System property called "server", so you should be able to use 
${server} in those files.


> 
> hth,
> 
> -g
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to