You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "joseph jobbings (JIRA)" <ji...@apache.org> on 2018/12/09 08:53:00 UTC

[jira] [Updated] (JCRVLT-328) vlt rcp fails with https PathNotFoundException

     [ https://issues.apache.org/jira/browse/JCRVLT-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

joseph jobbings updated JCRVLT-328:
-----------------------------------
    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 :

 
{code:java}
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{code}
 

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

 
{code:java}
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
{code}
 

Can vlt rcp log more verbose output for inspection/ diagnosis?

  was:
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 :

 
{code:java}
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{code}
 

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

 
{code:java}
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
{code}
 

Can vlt rcp log more verbose output for inspection/ diagnosis?


> vlt rcp fails with https PathNotFoundException
> ----------------------------------------------
>
>                 Key: JCRVLT-328
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-328
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>            Reporter: joseph jobbings
>            Priority: Major
>
> 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 :
>  
> {code:java}
> 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{code}
>  
> Configuring options for the JVM to use SSL and running the following command - although /foo/content/ already exists on both source and destination - fails with error "[ERROR] Error while retrieving src node /content/foo: javax.jcr.PathNotFoundException: /content/foo"
>  
> {code:java}
> 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
> {code}
>  
> Can vlt rcp log more verbose output for inspection/ diagnosis?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)