Expand my Community achievements bar.

SOLVED

Dispatcher flush on AEMaaCS

Avatar

Level 9

Hello,

is anyone using ACS Commons - Dispatcher Flush Rules on AEMaaCS? It is working fine for me locally with the SDK, but when I deploy it to Cloud DEV I get the following error:

 

com.day.cq.replication.AgentNotFoundException: Replication triggered, but no agent found!

 

The error happens on the call to the replicate method in DispatcherFlusherImpl line 109:

replicator.replicate(resourceResolver.adaptTo(Session.class), actionType, path, options)

I understand that replication works differently on CS, but the documentation states it should work when the OSGi configuration is deployed on AEM Author, which is exactly what I did.

 

Thanks in advance for any input.

Daniel

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Level 9

Thanks for pointing that @arunpatidar, we didn't want to install the complete package so the team copied the code expecting it to contain the logic for both on-prem/cloud, but now I see there is a different version for Cloud.