AEM RCP Pathnnot found Exception



Hi All , 


we are using Data Store as Azure Blobs and succfully uploaded  all assets(  .  we are moving/rcp  same assets to anoher environement   usign the Vault service bundle (


while running the curl command we are getting the Path Not Found Exception .  


20.05.2020 01:29:10.066 *INFO* []
ker.impl.LinkCheckerTask Checked URL 200 (valid)
20.05.2020 01:29:10.109 *INFO* []
ker.impl.LinkCheckerTask Checked URL 200 (valid)
20.05.2020 01:29:12.522 *INFO* [Vault RCP Task - test-id-6] org.apache.jackrabbit.vault.rcp.impl.RcpTask Starting repository copy task
id=test-id-6. From https://hostname/crx/server/crx.default/jcr:root/content/dam/we-retail/en/products/azcopy to /c
20.05.2020 01:29:12.531 *ERROR* [Vault RCP Task - test-id-6] org.apache.jackrabbit.vault.util.RepositoryCopier Error while retrieving s
rc node /content/dam/we-retail/en/products/azcopy: javax.jcr.PathNotFoundException: /content/dam/we-retail/en/products/azcopy
20.05.2020 01:29:14.785 *INFO* [qtp1064100962-1700] getAnonymousResolver: Anonymous
access not allowed by configuration - requesting credentials
20.05.2020 01:29:32.549 *INFO* [qtp1064100962-66] getAnonymousResolver: Anonymous ac
cess not allowed by configuration - requesting credentials

Pleae help us any confiuraiton is require for additional . 

Here  is My CURL command
curl -u admin:admin 'http://<destination-instance>/system/jackrabbit/filevault/rcp' -X POST -H "Content-Type: application/json" -d '{"cmd":"create", "id":"test-id-1", "src":"https:/admin:admin@<source-instance>/crx/server/crx.default/jcr:root/content/dam/we-retail/en/products/azcopy", "dst":"/content/dam/we-retail/en/products/azcopy", "recursive": true} 

Please help on this issue . 

Accepted Solutions (0)

Answers (2)

Answers (2)




The "src":"https:/admin:admin@<source-instance>/crx/server/crx.default/jcr:root/content/dam/we-retail/en/products/azcopy makes no sense.

you cannot rcp by setting up the path from CRXDe

Your source should be similar to https:/admin:admin@<source-instance>/content/dam/we-retail/en/products/azcopy



i just changed you are syntax . and ran the curl command . 

url -u tadmin:admin 'https://hostname/system/jackrabbit/filevault/rcp' -X POST -H "Conte
nt-Type: application/json" -d '{"cmd":"start", "id":"test-id-7"}'
"status": "error",
"message": "Error while executing 'start': Login failed: Unknown workspace 'azcopy'."

and the Task Id Json Format:

id": "test-id-7",
      "src": "https://hostnanme/content/dam/we-retail/en/products/azcopy/jcr:root",
      "dst": "/content/dam/we-retail/en/products/azcopy",
      "recursive": true,
      "batchsize": 1024,
      "update": false,
      "onlyNewer": false,
      "noOrdering": false,
      "throttle": 0,
      "resumeFrom": null,
      "status": {
        "state": "NEW",
        "currentPath": null,
        "lastSavedPath": null,
        "totalNodes": 0,
        "totalSize": 0,
        "currentSize": 0,
        "currentNodes": 0,
        "error": ""

Please help on this one