Error only on publisher : LoginException: Cannot derive user name for bundle and sub service
Hi,
I have a service user who is mapped to two subservices Example:
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="sling:OsgiConfig"
user.mapping="[aem-demo-test.core:demoService=demo-admin]"
/>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="sling:OsgiConfig"
user.mapping="[aem-test2.core:oldDemoService=demo-admin]"
/>
This works fine in author but does not work only on publisher. It also works on publisher after I restart publisher.
I get this error on publisher:
org.apache.sling.api.resource.LoginException: Cannot derive user name for bundle aem-demo-test.core [620] and sub service demoService.
It all works fine after I restart the bundle.