this message results from a safety check [1]

it seems you have at resources "/conf" and at "/" an attribute 
"sling:configRef" set that points to itself (please note the attribute name may 
vary, it is configurable in the osgi config of 
DefaultConfigurationResourceResolvingStrategy). furthermore it seems some code 
is trying to resolve configuration using "/conf" and "/" as context resource to 
get configuration for. both is rather strange and should normally not happen.

stefan

[1] 
https://github.com/apache/sling/blob/trunk/contrib/extensions/contextaware-config/impl/src/main/java/org/apache/sling/caconfig/resource/impl/def/DefaultConfigurationResourceResolvingStrategy.java#L230

>-----Original Message-----
>From: Burkhard Pauli [mailto:[email protected]]
>Sent: Thursday, November 24, 2016 2:06 PM
>To: [email protected]
>Cc: Stefan Seifert
>Subject: Context-Aware Config: Warnings in error log regarding
>DefaultConfigurationResourceResolvingStrategy
>
>Hi,
>
>When I do a GET request on a page I got the following warnings in the
>error.log:
>
>org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceRes
>olvingStrategy Ignoring reference to /conf from /conf - not in allowed
>paths.
>24.11.2016 13:50:59.547 *WARN* [0:0:0:0:0:0:0:1 [1479991859218] GET
>/content/we-retail/us/en.html HTTP/1.1]
>org.apache.sling.caconfig.resource.impl.def.DefaultConfigurationResourceRes
>olvingStrategy Ignoring reference to / from / - not in allowed paths.
>24.11.2016 13:50:59.549 *WARN* [0:0:0:0:0:0:0:1 [1479991859218] GET
>/content/we-retail/us/en.html HTTP/1.1]
>
>Can someone please give me advice what configuration is needed to stop this
>warnings?
>
>Thanks,
>Burkhard

Reply via email to