Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-328

vlt rcp fails with https PathNotFoundException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      vlt rcp (vault-cli-3.2.4) - used with AEM 6.4

      Trying to vault rcp between remote and local AEM instances works over http but not https.

      This command (with complex password replaced with 'password') results in correct copying of content nodes, suggesting the specified content path exists :

       

      vlt rcp --recursive --batchSize 50 --update --newer http://admin:password@some-host.westeurope.cloudapp.azure.com:4502/crx/-/jcr:root/content/foo/   http://admin:admin@localhost:4502/crx/-/jcr:root/content/foo
      
      000001 U /content/foo
      000002 - /content/foo/jcr:content
      000003 U /content/foo/errors
      000004 - /content/foo/errors/jcr:content
      000005 U /content/foo/errors/404
      000006 - /content/foo/errors/404/jcr:content
      000007 U /content/foo/errors/500
      000008 - /content/foo/errors/500/jcr:content
      [WARN ] Error while adding node /content/foo/rep:policy (ignored): javax.jcr.PathNotFoundException: rep:policy
      // ...etc

       

      Configuring options for the JVM to use SSL and running the following command - although /content/foo already exists on both source and destination - fails with error "[ERROR] Error while retrieving src node /content/foo: javax.jcr.PathNotFoundException: /content/foo"

       

      export VLT_OPTS="-Djavax.net.ssl.trustStore=/Users/john/server-keystore.pkcs12 -Djavax.net.ssl.trustStorePassword=changeit -Djavax.net.ssl.trustStoreType=pkcs12"
      vlt rcp --recursive --batchSize 50 --update --newer  https://admin:password@some-host.westeurope.cloudapp.azure.com/crx/-/jcr:root/content/foo  http://admin:admin@localhost:4502/crx/-/jcr:root/content/foo
      [ERROR] Error while retrieving src node /content/foo: javax.jcr.PathNotFoundException: /content/foo
      

       

      Can vlt rcp log more verbose output for inspection/ diagnosis?  Ok, bad question - the logging directive is clear in the documentation --log-level trace etc.  But I'm still puzzled as to why the command works over http but not over https (SSL considered and allowed for)? 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              josephh joseph jobbings
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: