Expand my Community achievements bar.

Resource not found in the publish service for new created site

Avatar

Level 2

Hi,

 

I have a question regarding publish new site in AEM cloud service. I created a new site in author mode and it is working fine, but the Publish mode is always showing resource not found after I publish the site, can anyone please help me!

4 Replies

Avatar

Community Advisor

Hello @pdong 

 

Please check following:

- If the replication/distribution queue is Blocked. If yes, please clear the queue and publish again

- any errors in error.log

 

Are you noticing this issue on Local or server?


Aanchal Sikka

Avatar

Level 2

Thanks aanchal-sikka! The issue is on cloud server. 

Avatar

Community Advisor

hi @pdong 

 

First , try to check in Preview mode in author itself.

1) if that looks fine, then there might be some thing missing while you publish the site 

2) check your replication agents. http://localhost:4502/etc/replication/agents.author.html

 

Avatar

Level 2

Thanks for your reply! The issue is on the cloud server. On local I have different error when I tried to publish my site:

 

com.adobe.granite.workflow.WorkflowException: Process execution resulted in an error
at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:204)
at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:300)
at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:502)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:351)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:60)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:287)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.adobe.granite.workflow.WorkflowException: Failed to execute process
at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:108)
at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:194)
... 8 more
Caused by: com.day.cq.workflow.WorkflowException: com.day.cq.replication.AgentNotFoundException: Replication triggered, but no agent found!
at com.day.cq.wcm.workflow.process.impl.treeactivation.TreeActivationWorkflowProcess.execute(TreeActivationWorkflowProcess.java:373)
at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
... 9 more
Caused by: com.day.cq.replication.AgentNotFoundException: Replication triggered, but no agent found!
at com.day.cq.replication.impl.ReplicatorImpl.determineAgentsAndOptions(ReplicatorImpl.java:705)
at com.day.cq.replication.impl.ReplicatorImpl.replicateInternal(ReplicatorImpl.java:473)
at com.day.cq.replication.impl.ReplicatorImpl.replicate(ReplicatorImpl.java:420)
at com.day.cq.replication.impl.ReplicatorImpl.replicate(ReplicatorImpl.java:396)
at com.day.cq.wcm.workflow.process.impl.ChunkedReplicator.replicate(ChunkedReplicator.java:115)
at com.day.cq.wcm.workflow.process.impl.ChunkedReplicator.runReplication(ChunkedReplicator.java:108)
at com.day.cq.wcm.workflow.process.impl.ChunkedReplicator.close(ChunkedReplicator.java:98)
at com.day.cq.wcm.workflow.process.impl.treeactivation.TreeActivationWorkflowProcess.execute(TreeActivationWorkflowProcess.java:349)
... 10 more