Expand my Community achievements bar.

SOLVED

SCD: Coordinator Missing

Avatar

Level 9

Wrote own listener following [1] & configured required service user, sling sync distribution configuration.   On the source instance job gets created & I can see package is correct at /var/sling/distribution/packages/contentpubsync-vlt/data/dstrpck-1507039754780-cf8e2ec6-ef4c-4c2b-944e-66f77bdd1926/bin/jcr:content/@jcr:data 

When coordinator pull it complains about [2] .  If i configure SyncDistributionAgentFactory packageBuilder to use socialpubsync-vlt it works fine. But i don;t want to make use of any social configuration & hence configured own packageBuilder (contentpubsync-vlt)  with right type.   Any idea what might be missing?

[1] 

Re: Global sync listener for scd?

[2]

03.10.2017 07:21:25.136 *ERROR* [pool-6-thread-5] org.apache.sling.distribution.agent.impl.SimpleDistributionAgent [agent][contentpubsync] cannot retrieve packages

org.apache.sling.distribution.serialization.DistributionPackageReadingException: java.io.IOException: Stream is not a content package. Missing 'jcr_root'.

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.readPackageInternal(JcrVaultDistributionPackageBuilder.java:117)

at org.apache.sling.distribution.serialization.impl.AbstractDistributionPackageBuilder.readPackage(AbstractDistributionPackageBuilder.java:91)

at org.apache.sling.distribution.serialization.impl.ResourceSharedDistributionPackageBuilder.readPackage(ResourceSharedDistributionPackageBuilder.java:85)

at org.apache.sling.distribution.serialization.impl.vlt.VaultDistributionPackageBuilderFactory.readPackage(VaultDistributionPackageBuilderFactory.java:140)

at org.apache.sling.distribution.transport.impl.SimpleHttpDistributionTransport.retrievePackages(SimpleHttpDistributionTransport.java:156)

at org.apache.sling.distribution.transport.impl.SimpleHttpDistributionTransport.retrievePackages(SimpleHttpDistributionTransport.java:53)

at org.apache.sling.distribution.transport.impl.MultipleEndpointDistributionTransport.retrievePackages(MultipleEndpointDistributionTransport.java:105)

at org.apache.sling.distribution.transport.impl.MultipleEndpointDistributionTransport.retrievePackages(MultipleEndpointDistributionTransport.java:41)

at org.apache.sling.distribution.packaging.impl.exporter.RemoteDistributionPackageExporter.exportPackages(RemoteDistributionPackageExporter.java:86)

at org.apache.sling.distribution.agent.impl.SimpleDistributionAgent.exportPackages(SimpleDistributionAgent.java:207)

at org.apache.sling.distribution.agent.impl.SimpleDistributionAgent.execute(SimpleDistributionAgent.java:179)

at org.apache.sling.distribution.agent.impl.SimpleDistributionAgent$AgentBasedRequestHandler.handle(SimpleDistributionAgent.java:525)

at org.apache.sling.distribution.trigger.impl.ScheduledDistributionTrigger$ScheduledDistribution.run(ScheduledDistributionTrigger.java:127)

at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java:105)

at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.IOException: Stream is not a content package. Missing 'jcr_root'.

at org.apache.jackrabbit.vault.packaging.impl.JcrPackageManagerImpl.upload(JcrPackageManagerImpl.java:194)

at org.apache.jackrabbit.vault.packaging.impl.JcrPackageManagerImpl.upload(JcrPackageManagerImpl.java:169)

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.readPackageInternal(JcrVaultDistributionPackageBuilder.java:113)

... 17 common frames omitted

cc:  tmaret

1 Accepted Solution

Avatar

Correct answer by
Level 9

Installing the hotfix cq-6.1.0-hotfix-11852-1.0.zip resolved the issue.  Thanks for consideration.  I do not have option to delete this.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 9

Installing the hotfix cq-6.1.0-hotfix-11852-1.0.zip resolved the issue.  Thanks for consideration.  I do not have option to delete this.