Replication Queue blocked - Failed to register namespace mapping illustrator

Avatar

Avatar

jerrys49113842

Avatar

jerrys49113842

jerrys49113842

18-12-2015

Hi,

 

AEM 6.1.0

 

We get the following error on some PDF / Images : 

18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : Replication (ACTIVATE) of /content/dam/conseil_etat/fr/actualites/2013/12/CActivit__s_pour_l_ann__e_2012-2013/cs_rapport_annuel_2013_web.pdf not successful. Conversation follows
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : ------------------------------------------------
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : Sending message to 148.110.139.141:4503
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : >> POST /bin/receive HTTP/1.0
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : >> Action: Activate
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : >> Path: /content/dam/conseil_etat/fr/actualites/2013/12/CActivit__s_pour_l_ann__e_2012-2013/cs_rapport_annuel_2013_web.pdf
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : >> Handle: /content/dam/conseil_etat/fr/actualites/2013/12/CActivit__s_pour_l_ann__e_2012-2013/cs_rapport_annuel_2013_web.pdf
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : >> Referer: about:blank
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : >> ...spooling 2088099 bytes...
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : --
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : << HTTP/1.1 400 Bad Request
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : << Date: Fri, 18 Dec 2015 14:12:12 GMT
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : << X-Content-Type-Options: nosniff
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : << Set-Cookie: cq-authoring-mode=TOUCH;Path=/;Expires=Fri, 25-Dec-2015 14:12:12 GMT
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : << Expires: Thu, 01 Jan 1970 00:00:00 GMT
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : << Content-Type: text/plain; charset=UTF-8
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : << Content-Length: 177
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : << Server: Jetty(9.2.9.v20150224)
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : << X-Powered-By: Jetty(9.2.9.v20150224)
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : << 
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : << error: com.day.cq.replication.ReplicationException: Repository error during node import: Failed to register namespace mapping illustrator -> http://ns.adobe.com/illustrator/1.0/
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : Message sent.
18.12.2015 15:12:12 - ERROR - replication-to-wcm-build-publish : ------------------------------------------------

 

 

The error on the publish site is:

18.12.2015 15:19:17.974 *ERROR* [148.110.139.141 [1450448357906] POST /bin/receive HTTP/1.1] com.day.cq.replication.impl.servlets.ReplicationServlet Error during replication: Repository error during node import: Failed to register namespace mapping illustrator -> http://ns.adobe.com/illustrator/1.0/
com.day.cq.replication.ReplicationException: Repository error during node import: Failed to register namespace mapping illustrator -> http://ns.adobe.com/illustrator/1.0/
        at com.day.cq.replication.impl.content.durbo.DurboImporter.createNode(DurboImporter.java:307)
        at com.day.cq.replication.impl.content.durbo.DurboImporter.createNode(DurboImporter.java:215)

...

Caused by: javax.jcr.AccessDeniedException: Failed to register namespace mapping illustrator -> http://ns.adobe.com/illustrator/1.0/
        at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:231)

...

Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakAccess0000: Access denied
        at org.apache.jackrabbit.oak.security.authorization.permission.PermissionValidator.checkPermissions(PermissionValidator.java:242)
        at org.apache.jackrabbit.oak.security.authorization.permission.PermissionValidator.propertyAdded(PermissionValidator.java:112)

..

 

 

The replication agent has the right to write in /content/dam and it has no problem writing other PDF to that location. 

 

Does anybody have an idea?

 

Thanks in advance,

 

JS

View Entire Topic

Avatar

Avatar

jamiec4451712

Avatar

jamiec4451712

jamiec4451712

26-06-2020

Our team recently came across this issue as well.

 

Symptoms:
  • Replication queue stuck and has pending items
  • Replication log shows: error: com.day.cq.replication.ReplicationException: Repository error during node import: Failed to register namespace mapping xmpGImg -> http://ns.adobe.com/xap/1.0/g/img/
Resolution:
  1. Visit the CRX Explorer (https://hostname.or.ip/crx/explorer/index.jsp)
  2. Click "Node Type Administration"
  3. Click "Namespaces"
  4. Add a new namespace
  5. URL: http://ns.adobe.com/xap/1.0/g/img/
  6. Prefix: xmpGImg
  7. Save

 

The replication will now succeed.