User data synchronization exception | Community
Skip to main content
Balu_M
Level 3
March 8, 2017
Solved

User data synchronization exception

  • March 8, 2017
  • 2 replies
  • 1865 views

Hi All,

We are using sling distribution agent feature for publishing user data to all publisher instances but getting below exception.

Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakConstraint0021: /home/users/a/eiTRubAYMWwDWGJVfOA6/.tokens/2017-03-07T15.26.18.287Z[[rep:Token]]: Mandatory property rep:token.key not found in a new node

We have requirement that once user token created in any publish instance that should be distributed to all available publish instances to keep user session active if connected to other publish instances. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by rawvarun

Hi Balu M,

Remove .token from Ignorable Properties from UserSyncListenerImpl:

https://tools.publicis.sapient.com/confluence/download/attachments/540704779/replication20.png?version=1&modificationDate=1487247140000&api=v2

Regards,

Varun Rawat

2 replies

rawvarun
Community Advisor
rawvarunCommunity AdvisorAccepted solution
Community Advisor
April 11, 2017

Hi Balu M,

Remove .token from Ignorable Properties from UserSyncListenerImpl:

https://tools.publicis.sapient.com/confluence/download/attachments/540704779/replication20.png?version=1&modificationDate=1487247140000&api=v2

Regards,

Varun Rawat

August 30, 2017

It seems not to be valid for AEM 6.1 SP2. I still have the same exception.