Error while building replication content com.day.cq.replication.AccessDeniedException: Replicaiton Agent | Community
Skip to main content
Level 3
January 7, 2019

Error while building replication content com.day.cq.replication.AccessDeniedException: Replicaiton Agent

  • January 7, 2019
  • 1 reply
  • 6265 views

Hi All,

I am facing an issue while replicating pages, which has dispatcher flush rules configured as per ACS common configuration. Suddenly we started to face this issue after install SP3 and CFP1 on top of AEM 6.3.2.0.

We have an agent to flush certain resources (.json files) when a page under certain pattern is being replicated from author to publish. While doing so, we are facing the below error in logs:

flush agent.log:

ERROR - flush_resource_only : Unable to build content for agent 'flush_resource_only'.Agent User 'null' does not sufficient permission on '/bin/myproject/home'.

ERROR - flush_resource_only : Error while building replication content com.day.cq.replication.AccessDeniedException: Replicaiton Agent [flush_resource_only]- Agent user [null] doesn't have sufficient permission on [/bin/myproject/home]

Also while replicating, I am seeing the warning message in the siteadmin console at the right top as shown below:

Yes, as this is an issue related to ACS common compatibility, we have created a case in GIT as well. Also posting the problem statement here to get some view from AEM experts. This issue is as same as the following GIT post: DispatcherFlushRules break replication in 6.4.2 · Issue #1636 · Adobe-Consulting-Services/acs-aem-commons · GitHub  but AEM versions are different.

PS: We have validated permission for root path in AEM as explained in acs-commons-dispatcher-flush-service system user dispatcher flush ACLs for jcr:removeNode · Issue #1287 · Adobe-Consulti… . But still the same issue.

Thanks in advance for any pointers.

Regards,

Dinesh.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

smacdonald2008
Level 10
January 7, 2019

Your error message suggests that there is a permission issue: Agent User 'null' does not sufficient permission.

Please double check those permissions.

smacdonald2008
Level 10
January 7, 2019

I checked with the customer care team and they advice that you open a support ticket. They need to investigate this.

Level 2
March 13, 2019

Hi W0lver!n3,

Day Care support team confirmed that this is a product bug in AEM 6.3.3.1 and also support executive said that they are tracking this issue with an internal ticket and will include a fix in AEM 6.3.3.3 (which is expected to be released by mid or end of March 2019).

Workaround could be: Convert all the servlets to be resolvable by resourcePath  instead of path or disabling caching for those servlet calls till the time, the above said hot fix will be available.

Regards,

Dinesh.


Thanks a lot Dinesh.