AEM 6.2 DAM Assets - Error while adjusting references



Hello Community,

I am using AEM 6.2 (no service packs). Components and the interface used are all Touch-UI.

I have a use case wherein I have an image component (based on adaptiveimage) and i drag and drop and image onto it. When I move the image I had used in my component in DAM from 1 location to another (be it any location), the images in the DAM move, but fileReference property of the image component does not get updated causing image to not display on the page.

The summary of the logs is:

17.11.2016 10:05:00.279 *ERROR* [0:0:0:0:0:0:0:1 [1479373499953] POST /bin/wcmcommand HTTP/1.1] Error while adjusting references. Unable to commit changes to session.


Caused by: javax.jcr.AccessDeniedException: OakAccess0000: Access denied
    at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(
    at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(
    at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.newRepositoryException(
    at org.apache.jackrabbit.oak.jcr.session.SessionImpl$8.performVoid(
    at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(
    ... 123 common frames omitted
Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakAccess0000: Access denied


I do not have any permission set on any DAM folder, asset or even on pages/ components etc.

Please also note that it only happens sometimes and on some images.

Any direction of help would be appreciated!



Accepted Solutions (1)

Accepted Solutions (1)



Error indicates an permission issue as well as multiple threads trying to commit & descriptions says some times & some images.  I would suspect on

  1. Dispatcher or webserver level config settings of 412 Status code.Making double requests. 
  2. Might be facing issue for already activates images with external listeners.
  3. Repository is not in consistent state due to indexing issue etc...

Steps would be simplify the case

  • Do you see the issue by hitting aem instance directly without any layers like webserver, dispatcher.
  • Is it for particular users Or happens only when you try to move the page that has reference to already activated images.
  • Need to find which permission is missing by closely analyzing the logs.