Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Disable User Synchronization

Avatar

Level 2

We keep getting the below error whenever a user node is created, we haven't explicitly enabled the "Apache Sling Distribution Agent - Sync Agents Factory" or any other distribution service. And we do not want the users to be synced between publishers either, could you suggest how we can disable the sync to avoid these errors.

28.08.2019 05:41:19.560 *ERROR* [sling-default-2-Registered Service.3869] org.apache.sling.commons.scheduler.impl.QuartzScheduler Exception during job execution of job 'org.apache.sling.distribution.packaging.impl.ResourceDistributionPackageCleanup@4d966a58 ' with name 'Registered Service.3869' : Can't create child on a synthetic root

java.lang.IllegalArgumentException: Can't create child on a synthetic root

        at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.create(ResourceResolverImpl.j ava:968) [org.apache.sling.resourceresolver:1.6.8]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java: 671) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:608) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:576) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java: 659) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:608) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:576) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java: 659) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:608) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:576) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java: 659) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:608) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:576) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java: 659) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:608) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:576) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResourceInternal(ResourceUtil.java: 659) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:608) [org.apache.sling.api:2.18.4]

        at org.apache.sling.api.resource.ResourceUtil.getOrCreateResource(ResourceUtil.java:576) [org.apache.sling.api:2.18.4]

        at org.apache.sling.distribution.packaging.impl.DistributionPackageUtils.getPackagesRoot(Dis tributionPackageUtils.java:282) [org.apache.sling.distribution.core:0.2.11.T20180619143200-4981256]

        at org.apache.sling.distribution.packaging.impl.ResourceDistributionPackageBuilder.getPackag es(ResourceDistributionPackageBuilder.java:245) [org.apache.sling.distribution.core:0.2.11.T20180619143200-4981256]

        at org.apache.sling.distribution.packaging.impl.ResourceDistributionPackageCleanup.run(Resou rceDistributionPackageCleanup.java:61) [org.apache.sling.distribution.core:0.2.11.T20180619143200-4981256]

        at org.apache.sling.commons.scheduler.impl.QuartzJobExecutor.execute(QuartzJobExecutor.java: 347) [org.apache.sling.commons.scheduler:2.7.2]

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [org.apache.sling.commons.scheduler:2.7.2]

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

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

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

29.08.2019 11:25:14.736 *INFO* [sling-oak-observation-10] com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl Handing these paths to the distribution subsystem: [/home/users/l/lJP1TmzfVXtca2r43ZEw]

29.08.2019 11:25:14.736 *INFO* [sling-oak-observation-10] com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl Could not distribute the requested paths: [/home/users/l/lJP1TmzfVXtca2r43ZEw] Error was: Agent is not available

29.08.2019 11:25:14.737 *INFO* [sling-oak-observation-2] com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl Handing these paths to the distribution subsystem: [/home/users/l/lJP1TmzfVXtca2r43ZEw, /home/users/l/lJP1TmzfVXtca2r43ZEw/profile, /home/users/l/lJP1TmzfVXtca2r43ZEw/rep:policy]

29.08.2019 11:25:14.737 *INFO* [sling-oak-observation-2] com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl Could not distribute the requested paths: [/home/users/l/lJP1TmzfVXtca2r43ZEw, /home/users/l/lJP1TmzfVXtca2r43ZEw/profile, /home/users/l/lJP1TmzfVXtca2r43ZEw/rep:policy] Error was: Agent is not available

29.08.2019 11:25:14.739 *WARN* [sling-oak-observation-12] org.apache.jackrabbit.oak.jcr.observation.ChangeProcessor Error while dispatching observation events for /home/users//*[10001b]@com.adobe.social.integrations.livefyre.user.pingforpull.impl.PingP ullServlet

com.adobe.cq.social.SocialException: Could not get root path for livefyre service configurations.

        at com.adobe.social.integrations.livefyre.config.impl.LivefyreConfigProviderImpl.getAllConfi gs(LivefyreConfigProviderImpl.java:225) [com.adobe.cq.social.cq-social-livefyre:1.2.3]

        at com.adobe.social.integrations.livefyre.user.pingforpull.impl.PingPullServlet.onEvent(Ping PullServlet.java:283) [com.adobe.cq.social.cq-social-livefyre:1.2.3]

        at org.apache.jackrabbit.commons.observation.ListenerTracker$1.onEvent(ListenerTracker.java: 190) [org.apache.jackrabbit.jackrabbit-jcr-commons:2.16.3]

        at org.apache.jackrabbit.oak.jcr.observation.ChangeProcessor.contentChanged(ChangeProcessor. java:508) [org.apache.jackrabbit.oak-jcr:1.8.9]

        at org.apache.jackrabbit.oak.plugins.observation.FilteringDispatcher.contentChanged(Filterin gDispatcher.java:53) [org.apache.jackrabbit.oak-core:1.8.9]

        at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java: 128) [org.apache.jackrabbit.oak-store-spi:1.8.9]

        at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java: 122) [org.apache.jackrabbit.oak-store-spi:1.8.9]

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

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

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

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

1 Accepted Solution

Avatar

Correct answer by
Employee

Could you please provide your AEM version?

Alos, check this post - Upgrading from AEM6.0 to AEM6.3

View solution in original post

3 Replies

Avatar

Employee Advisor

Check the "How To Remove a Publisher" section at [1] and make sure all the configurations are disabled.

Also, try removing nodes under "/var/sling/distribution/packages "

[1] User Synchronization

Avatar

Level 2

"Apache Sling Distribution Agent - Sync Agents Factory" just has the default configurations, there are no publish instances added to this configuration and we do not see any nodes under "/var/sling/distribution/packages ".

Avatar

Correct answer by
Employee

Could you please provide your AEM version?

Alos, check this post - Upgrading from AEM6.0 to AEM6.3