Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
454 stars 600 forks source link

acs-commons-dispatcher-flush-service' is not a known JCR system user id #2800

Open Sambi-Kolagotla opened 2 years ago

Sambi-Kolagotla commented 2 years ago

Required Information

Expected Behavior

Dispatcher flush not working using acs cpmmons error : org.apache.sling.jcr.resource.internal.JcrSystemUserValidator The provided service principal name 'acs-commons-dispatcher-flush-service' is not a known JCR system user id and therefore not allowed in the Sling Service User Mapper.

When we try to recreate these uses it works but again on upgrade the user gets deleted.

davidjgonzalez commented 2 years ago

Hi @Sambi-Kolagotla - Just tested this w/ v5.2.0 and it seems to be able to find the service user (and the server user appears to be registered)

2022-04-08 at 5 53 PM

2022-04-08 at 5 55 PM

Did this just start happening recently for you? Can you check if it shows up on your AEM env in OSGi Console > Status > Sling Service User Mappings (my 2nd screenshot)

akash-icf commented 2 years ago

@davidjgonzalez Even though the Service Mapper configuration exists, the user 'acs-commons-dispatcher-flush-service' does due to which this issue is happening.