Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges


cloud SDK, how to get a publisher working locally with an author instance?


Level 8

running a publisher and author instance is easy:


cd /author

java -jar aem-author-p4502.jar

cd /publish

java -jar aem-publish-p4503.jar


We can then login to author (http://localhost:4502):, see all our sites pages, and even publish them all.


However, on our local publish instance, there is nothing. no content.  e.g. if we navigate to:  http://localhost:4503/content/ourweb-web/oursite_com/uk/en/legal.html we get 404

We get that path by editing the page in the author instance, then copying the path.


Presumably we have to manually configure replication agents on author/publish. I got this working long ago, but it stopped working soon after, and I dont know how to debug it.


how does one setup a local publish instance to work with a local author instance?


If I look on publish instance CRX editor thing, I dont see our sites under "conent":



Note: i installed our app on the author instance using:

mvn clean install -PautoInstallPackage

I installed our content on the author instance using a package.


I just found this documentation page on how to setup replication agents:


Now I just get blank pages instead of 404.


I know I need to find a way to replicate the content, how do I replicate the code?

1 Accepted Solution


Correct answer by
Community Advisor
0 Replies


Correct answer by
Community Advisor


Community Advisor

Hi @TB3dock ,


Use below command to install the code in local publisher instance.


mvn clean install -PautoInstallPackagePublish