Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Social communities user sync issue

Avatar

Level 2

Hi All,

I have set up the user sync as per  this documentation @ User Synchronization - docs.adobe.com

On one server all my logs are good.

On the other server I am getting some exception as follows, could you please help me on the same .

07.10.2017 21:22:47.982 *ERROR* [pool-6-thread-7] org.apache.sling.distribution.agent.impl.SimpleDistributionAgent [agent][socialpubsync-reverse] Error executing distribution request SimpleDistributionRequest{requestType=ADD, paths=[/home/users/1, /home/users/1/1JG1sntSl8ViB8dpTCoU], deep=false} {}

org.apache.sling.distribution.packaging.DistributionPackageExportException: org.apache.sling.distribution.serialization.DistributionPackageBuildingException: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.sling.distribution.packaging.impl.exporter.LocalDistributionPackageExporter.exportPackages(LocalDistributionPackageExporter.java:53)

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.impl.DefaultDistributor.distribute(DefaultDistributor.java:60)

at com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl.distribute(PublisherSyncServiceImpl.java:139)

at com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl.sync(PublisherSyncServiceImpl.java:126)

at com.adobe.cq.social.sync.impl.SyncEventHandler.distributePaths(SyncEventHandler.java:280)

at com.adobe.cq.social.sync.impl.SyncEventHandler.onEvent(SyncEventHandler.java:259)

at com.adobe.cq.social.sync.impl.SyncEventListener.onEvent(SyncEventListener.java:49)

at org.apache.jackrabbit.commons.observation.ListenerTracker$1.onEvent(ListenerTracker.java:164)

at org.apache.jackrabbit.oak.jcr.observation.ChangeProcessor.contentChanged(ChangeProcessor.java:302)

at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:125)

at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:119)

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

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: org.apache.sling.distribution.serialization.DistributionPackageBuildingException: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.createPackageForAdd(JcrVaultDistributionPackageBuilder.java:118)

at org.apache.sling.distribution.serialization.impl.AbstractDistributionPackageBuilder.createPackage(AbstractDistributionPackageBuilder.java:61)

at org.apache.sling.distribution.serialization.impl.ResourceSharedDistributionPackageBuilder.createPackage(ResourceSharedDistributionPackageBuilder.java:67)

at org.apache.sling.distribution.serialization.impl.vlt.VaultDistributionPackageBuilderFactory.createPackage(VaultDistributionPackageBuilderFactory.java:153)

at org.apache.sling.distribution.packaging.impl.exporter.LocalDistributionPackageExporter.exportPackages(LocalDistributionPackageExporter.java:51)

... 16 common frames omitted

Caused by: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getOakPathOrThrow(SessionImpl.java:153)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.access$100(SessionImpl.java:80)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.perform(SessionImpl.java:192)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.perform(SessionImpl.java:188)

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:216)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.perform(SessionImpl.java:140)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getNodeOrNull(SessionImpl.java:188)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.nodeExists(SessionImpl.java:330)

at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at org.apache.sling.jcr.base.SessionProxyHandler$SessionProxyInvocationHandler.invoke(SessionProxyHandler.java:113)

at com.sun.proxy.$Proxy8.nodeExists(Unknown Source)

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.getPackageRoot(JcrVaultDistributionPackageBuilder.java:242)

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.uploadPackage(JcrVaultDistributionPackageBuilder.java:189)

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

... 20 common frames omitted

07.10.2017 21:22:47.983 *ERROR* [pool-6-thread-5] org.apache.sling.distribution.agent.impl.SimpleDistributionAgent [agent][socialpubsync-reverse] Error executing distribution request SimpleDistributionRequest{requestType=ADD, paths=[/home/users/1/1JG1sntSl8ViB8dpTCoU, /home/users/1/1JG1sntSl8ViB8dpTCoU/profile, /home/users/1/1JG1sntSl8ViB8dpTCoU/rep:policy], deep=false} {}

org.apache.sling.distribution.packaging.DistributionPackageExportException: org.apache.sling.distribution.serialization.DistributionPackageBuildingException: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.sling.distribution.packaging.impl.exporter.LocalDistributionPackageExporter.exportPackages(LocalDistributionPackageExporter.java:53)

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.impl.DefaultDistributor.distribute(DefaultDistributor.java:60)

at com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl.distribute(PublisherSyncServiceImpl.java:139)

at com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl.sync(PublisherSyncServiceImpl.java:126)

at com.adobe.cq.social.sync.impl.SyncEventHandler.distributePaths(SyncEventHandler.java:280)

at com.adobe.cq.social.sync.impl.SyncEventHandler.onEvent(SyncEventHandler.java:259)

at com.adobe.cq.social.sync.impl.SyncEventListener.onEvent(SyncEventListener.java:49)

at org.apache.jackrabbit.commons.observation.ListenerTracker$1.onEvent(ListenerTracker.java:164)

at org.apache.jackrabbit.oak.jcr.observation.ChangeProcessor.contentChanged(ChangeProcessor.java:302)

at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:125)

at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:119)

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

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: org.apache.sling.distribution.serialization.DistributionPackageBuildingException: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.createPackageForAdd(JcrVaultDistributionPackageBuilder.java:118)

at org.apache.sling.distribution.serialization.impl.AbstractDistributionPackageBuilder.createPackage(AbstractDistributionPackageBuilder.java:61)

at org.apache.sling.distribution.serialization.impl.ResourceSharedDistributionPackageBuilder.createPackage(ResourceSharedDistributionPackageBuilder.java:67)

at org.apache.sling.distribution.serialization.impl.vlt.VaultDistributionPackageBuilderFactory.createPackage(VaultDistributionPackageBuilderFactory.java:153)

at org.apache.sling.distribution.packaging.impl.exporter.LocalDistributionPackageExporter.exportPackages(LocalDistributionPackageExporter.java:51)

... 16 common frames omitted

Caused by: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getOakPathOrThrow(SessionImpl.java:153)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.access$100(SessionImpl.java:80)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.perform(SessionImpl.java:192)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.perform(SessionImpl.java:188)

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:216)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.perform(SessionImpl.java:140)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getNodeOrNull(SessionImpl.java:188)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.nodeExists(SessionImpl.java:330)

at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at org.apache.sling.jcr.base.SessionProxyHandler$SessionProxyInvocationHandler.invoke(SessionProxyHandler.java:113)

at com.sun.proxy.$Proxy8.nodeExists(Unknown Source)

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.getPackageRoot(JcrVaultDistributionPackageBuilder.java:242)

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.uploadPackage(JcrVaultDistributionPackageBuilder.java:189)

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

... 20 common frames omitted

07.10.2017 21:22:47.984 *ERROR* [pool-6-thread-7] org.apache.sling.distribution.impl.DefaultDistributor cannot execute

org.apache.sling.distribution.agent.DistributionAgentException: org.apache.sling.distribution.packaging.DistributionPackageExportException: org.apache.sling.distribution.serialization.DistributionPackageBuildingException: javax.jcr.RepositoryException: Not an absolute path:

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

at org.apache.sling.distribution.impl.DefaultDistributor.distribute(DefaultDistributor.java:60)

at com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl.distribute(PublisherSyncServiceImpl.java:139)

at com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl.sync(PublisherSyncServiceImpl.java:126)

at com.adobe.cq.social.sync.impl.SyncEventHandler.distributePaths(SyncEventHandler.java:280)

at com.adobe.cq.social.sync.impl.SyncEventHandler.onEvent(SyncEventHandler.java:259)

at com.adobe.cq.social.sync.impl.SyncEventListener.onEvent(SyncEventListener.java:49)

at org.apache.jackrabbit.commons.observation.ListenerTracker$1.onEvent(ListenerTracker.java:164)

at org.apache.jackrabbit.oak.jcr.observation.ChangeProcessor.contentChanged(ChangeProcessor.java:302)

at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:125)

at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:119)

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

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: org.apache.sling.distribution.packaging.DistributionPackageExportException: org.apache.sling.distribution.serialization.DistributionPackageBuildingException: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.sling.distribution.packaging.impl.exporter.LocalDistributionPackageExporter.exportPackages(LocalDistributionPackageExporter.java:53)

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

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

... 14 common frames omitted

Caused by: org.apache.sling.distribution.serialization.DistributionPackageBuildingException: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.createPackageForAdd(JcrVaultDistributionPackageBuilder.java:118)

at org.apache.sling.distribution.serialization.impl.AbstractDistributionPackageBuilder.createPackage(AbstractDistributionPackageBuilder.java:61)

at org.apache.sling.distribution.serialization.impl.ResourceSharedDistributionPackageBuilder.createPackage(ResourceSharedDistributionPackageBuilder.java:67)

at org.apache.sling.distribution.serialization.impl.vlt.VaultDistributionPackageBuilderFactory.createPackage(VaultDistributionPackageBuilderFactory.java:153)

at org.apache.sling.distribution.packaging.impl.exporter.LocalDistributionPackageExporter.exportPackages(LocalDistributionPackageExporter.java:51)

... 16 common frames omitted

Caused by: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getOakPathOrThrow(SessionImpl.java:153)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.access$100(SessionImpl.java:80)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.perform(SessionImpl.java:192)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.perform(SessionImpl.java:188)

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:216)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.perform(SessionImpl.java:140)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getNodeOrNull(SessionImpl.java:188)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.nodeExists(SessionImpl.java:330)

at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at org.apache.sling.jcr.base.SessionProxyHandler$SessionProxyInvocationHandler.invoke(SessionProxyHandler.java:113)

at com.sun.proxy.$Proxy8.nodeExists(Unknown Source)

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.getPackageRoot(JcrVaultDistributionPackageBuilder.java:242)

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.uploadPackage(JcrVaultDistributionPackageBuilder.java:189)

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

... 20 common frames omitted

07.10.2017 21:22:47.984 *INFO* [pool-6-thread-7] com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl Could not distribute the requested paths: [/home/users/1, /home/users/1/1JG1sntSl8ViB8dpTCoU] Error was: Cannot execute request

07.10.2017 21:22:47.984 *ERROR* [pool-6-thread-5] org.apache.sling.distribution.impl.DefaultDistributor cannot execute

org.apache.sling.distribution.agent.DistributionAgentException: org.apache.sling.distribution.packaging.DistributionPackageExportException: org.apache.sling.distribution.serialization.DistributionPackageBuildingException: javax.jcr.RepositoryException: Not an absolute path:

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

at org.apache.sling.distribution.impl.DefaultDistributor.distribute(DefaultDistributor.java:60)

at com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl.distribute(PublisherSyncServiceImpl.java:139)

at com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl.sync(PublisherSyncServiceImpl.java:126)

at com.adobe.cq.social.sync.impl.SyncEventHandler.distributePaths(SyncEventHandler.java:280)

at com.adobe.cq.social.sync.impl.SyncEventHandler.onEvent(SyncEventHandler.java:259)

at com.adobe.cq.social.sync.impl.SyncEventListener.onEvent(SyncEventListener.java:49)

at org.apache.jackrabbit.commons.observation.ListenerTracker$1.onEvent(ListenerTracker.java:164)

at org.apache.jackrabbit.oak.jcr.observation.ChangeProcessor.contentChanged(ChangeProcessor.java:302)

at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:125)

at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:119)

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

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: org.apache.sling.distribution.packaging.DistributionPackageExportException: org.apache.sling.distribution.serialization.DistributionPackageBuildingException: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.sling.distribution.packaging.impl.exporter.LocalDistributionPackageExporter.exportPackages(LocalDistributionPackageExporter.java:53)

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

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

... 14 common frames omitted

Caused by: org.apache.sling.distribution.serialization.DistributionPackageBuildingException: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.createPackageForAdd(JcrVaultDistributionPackageBuilder.java:118)

at org.apache.sling.distribution.serialization.impl.AbstractDistributionPackageBuilder.createPackage(AbstractDistributionPackageBuilder.java:61)

at org.apache.sling.distribution.serialization.impl.ResourceSharedDistributionPackageBuilder.createPackage(ResourceSharedDistributionPackageBuilder.java:67)

at org.apache.sling.distribution.serialization.impl.vlt.VaultDistributionPackageBuilderFactory.createPackage(VaultDistributionPackageBuilderFactory.java:153)

at org.apache.sling.distribution.packaging.impl.exporter.LocalDistributionPackageExporter.exportPackages(LocalDistributionPackageExporter.java:51)

... 16 common frames omitted

Caused by: javax.jcr.RepositoryException: Not an absolute path:

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getOakPathOrThrow(SessionImpl.java:153)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.access$100(SessionImpl.java:80)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.perform(SessionImpl.java:192)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.perform(SessionImpl.java:188)

at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:216)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.perform(SessionImpl.java:140)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getNodeOrNull(SessionImpl.java:188)

at org.apache.jackrabbit.oak.jcr.session.SessionImpl.nodeExists(SessionImpl.java:330)

at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at org.apache.sling.jcr.base.SessionProxyHandler$SessionProxyInvocationHandler.invoke(SessionProxyHandler.java:113)

at com.sun.proxy.$Proxy8.nodeExists(Unknown Source)

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.getPackageRoot(JcrVaultDistributionPackageBuilder.java:242)

at org.apache.sling.distribution.serialization.impl.vlt.JcrVaultDistributionPackageBuilder.uploadPackage(JcrVaultDistributionPackageBuilder.java:189)

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

... 20 common frames omitted

07.10.2017 21:22:47.985 *INFO* [pool-6-thread-5] com.adobe.cq.social.sync.impl.PublisherSyncServiceImpl Could not distribute the requested paths: [/home/users/1/1JG1sntSl8ViB8dpTCoU, /home/users/1/1JG1sntSl8ViB8dpTCoU/profile, /home/users/1/1JG1sntSl8ViB8dpTCoU/rep:policy] Error was: Cannot execute request

1 Accepted Solution

Avatar

Correct answer by
Employee

This is very old version. There have been many fixes in user sync area in latest service packs and feature packs. Is there any specific reason not to install service pack?

In any case, I would need more information to analyze this. Please contact Adobe Support and open a daycare ticket if you have not done already.

View solution in original post

3 Replies

Avatar

Employee

Which version of AEM are you on? Can you please install latest AEM service pack and latest AEM Communities Feature Pack and try again?

Avatar

Level 2

We are on AEM 6.1.0.20150507, communities SOCO 1.8.305. As of now, we may not go for an upgrade. This was working properly until last week.

Avatar

Correct answer by
Employee

This is very old version. There have been many fixes in user sync area in latest service packs and feature packs. Is there any specific reason not to install service pack?

In any case, I would need more information to analyze this. Please contact Adobe Support and open a daycare ticket if you have not done already.