Skip to main content
Balu_M
Level 3
Mar 8, 2017 5:57 AM UTC
Solved

User data synchronization exception

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.
rawvarun
rawvarunAccepted solution
Community Advisor
Apr 11, 2017 6:55 AM UTC

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

Varun Rawat

2 replies

rawvarun
Community Advisor
rawvarunCommunity AdvisorAccepted solution
Community Advisor
Apr 11, 2017 6:55 AM UTC

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

Translate
Varun Rawat
Aug 30, 2017 7:41 AM UTC

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

Translate