On Wed, 2020-01-22 at 16:16 -0500, Carlos Munoz wrote:
> Thanks for the tip Daniel!
> 
> Robert - we were able to successfully package the sling starter with
> the
> latest definitions as you pointed, but when deploying on top of an
> existing
> database we started getting a JCR error:
> 
> javax.jcr.LoginException: Can neither derive user name nor principal
> names
> for bundle org.apache.sling.jcr.resource [152] and sub service
> observation
> 
> We don't get the same error when deploying on a fresh database.

It seems that you have some missing service user mappings. Those might
be required by newer versions of the bundles that you just consumed. In
the Sling Starter the current mapping is defined at [1].

Does adding that as a configuration to your application help?

Thanks,
Robert


[1]: 
https://github.com/apache/sling-org-apache-sling-starter/blob/7eac121fc3f00c95ef5b8ac38133f6796a4a6c08/src/main/provisioning/sling.txt#L199-L202

Reply via email to