Expand my Community achievements bar.

SOLVED

User data synchronization exception

Avatar

Level 3

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. 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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

Avatar

Level 1

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