Hi Josh,
On Mon, Aug 31, 2009 at 10:36 PM, Josh Kennedy<[email protected]> wrote:
>
> On Aug 26, 2009, at 5:33 AM, Bertrand Delacretaz wrote:
>> ...The changes of https://issues.apache.org/jira/browse/SLING-739 should
>> help,...
> ...I set 'sling.repository.config.file.url' to an HTTP URL in the init-params
> of the web.xml to no avail. I am setting the sling.home in the web.xml and
> that works. I have a sling.properties file in WEB-INF in the war with the
> same URL for 'sling.repository.config.file.url' set and it still didn't
> fetch the config. I've also tried specifing a file name and placing it in
> various locations within the war (root, WEB-INF, WEB-INF/classes) and it
> was never used for jackrabbit....
I played a bit with this and the use of this property can be confusing
- I have just added some notes to SLING-739 with the details.
Also added log messages to indicate which config file is actually used
("org.apache.sling.jcr.jackrabbit.server Using configuration..."), in
revision 809855.
For now, for the property to be used, it needs to be correct the first
time Sling starts, i.e. before the OSGi repository configuration is
created. We might want to improve this.
-Bertrand