On 18 May 2012 01:45, Pontus Amberg <[email protected]> wrote:
> A file was created in /config/org/apache/sling/commons/log when I changed
> the
> log level in the Logger Configuration but when I restarted the system it was
> also removed at the startup. So the problem is not only affecting the
> Authenticator.
>
> I might add that I modified the property "installer.configuration.version"
> in
> installer/factories/configuration/pom.xml to 1.0.9-SNAPSHOT since It
> otherwise was impossible to build Sling with an empty Maven repository.
> I've added an issue in Jira about this
> https://issues.apache.org/jira/browse/SLING-2482
>
> Might this be the reason I'm having troubles with the config files?


Could be.
I am trying to reproduce now. Been a hectic day, sorry for the delay.
Ian

>
> /Pontus
>
>
> On 2012-05-17 01:19, Ian Boston wrote:
>>
>> AFAIK, This doesn't normally happen.
>>
>> Does it happen to any of the other config files, or just the
>> SlingAuthenticator.config ?
>>
>> Try adding a logging configuration, stopping and starting the tomcat
>> instance.
>>
>> Ian
>>
>>
>> On 17 May 2012 09:09, Pontus Amberg<[email protected]>  wrote:
>>>
>>> I just noticed that config files stored in {sling.home}/config are purged
>>> when I
>>> restart the server that the Sling WAR archive is hosted on.
>>>
>>> If I for example add authentication requirements in the authentication
>>> service
>>> I can see that the SlingAuthenticator.config file is created in
>>> config/org/apache/sling/engine/impl/auth but when I restart the server
>>> the
>>> file
>>> is removed and the settings are lost. The folders are still there though.
>>>
>>> Is this a bug or is it a feature and if it is a feature how is it
>>> disabled?
>>>
>>> /Pontus
>>>
>

Reply via email to