Thank you Robert. That worked. I was mislead by the name and did not pay
attention to the "ResourceProvider" suffix.

I have another issue now but will write in another email.

On 10.08.2018 14:49, Robert Munteanu wrote:
> Hi Eugen,
>
> On Fri, 2018-08-10 at 09:24 +0300, Eugen Stan wrote:
>> Hello,
>>
>> I'm trying to deploy Sling with Mongo back-end with authentication
>> and
>> non default connection settings.
>>
>> [1] https://docs.mongodb.com/manual/tutorial/enable-authentication/
>>
>> I've updated the configuration for Sling/Mongo:
>>
>> org.apache.sling.nosql.mongodb.resourceprovider.MongoDBNoSqlResourceP
>> roviderFactory.factory.config-default.cfg
>>
>> provider.roots = [ \
>>   "/", \
>>   ]
>> connectionString="10.20.0.1:27017"
>> database="my-sling"
>> collection="resources"
>> org.apache.karaf.features.configKey =
>> "org.apache.sling.nosql.mongodb.resourceprovider.MongoDBNoSqlResource
>> ProviderFactory.factory.config-default"
> You're configuring the NoSQL MongoDB Resource Provider, which is not
> the same as the Oak NodeStore implementation :-)
>
> The connection details for MongoDB are described at 
>
> https://helpx.adobe.com/experience-manager/6-3/sites/deploying/using/data-store-config.html#DocumentNodeStore
>
> Hope this helps,
>
> Robert
>


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to