From dev-return-49346-archive-asf-public=cust-asf.ponee.io@jackrabbit.apache.org Mon Dec 17 15:09:11 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9B61C180675 for ; Mon, 17 Dec 2018 15:09:10 +0100 (CET) Received: (qmail 35888 invoked by uid 500); 17 Dec 2018 14:09:09 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 35878 invoked by uid 99); 17 Dec 2018 14:09:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Dec 2018 14:09:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3FCE5CDF17 for ; Mon, 17 Dec 2018 14:09:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.3 X-Spam-Level: X-Spam-Status: No, score=-110.3 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 9axawRRJdHI2 for ; Mon, 17 Dec 2018 14:09:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4C6D1621FB for ; Mon, 17 Dec 2018 14:03:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8BC07E0E3E for ; Mon, 17 Dec 2018 14:03:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 41AEC23FCB for ; Mon, 17 Dec 2018 14:03:00 +0000 (UTC) Date: Mon, 17 Dec 2018 14:03:00 +0000 (UTC) From: "joseph jobbings (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (JCRVLT-328) vlt rcp fails with https PathNotFoundException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCRVLT-328?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] joseph jobbings updated JCRVLT-328: ----------------------------------- Description:=20 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 co= rrect copying of content nodes, suggesting the specified content path exist= s=C2=A0: =C2=A0 {code:java} vlt rcp=C2=A0--recursive --batchSize 50 --update --newer=C2=A0http://admin:= password@some-host.westeurope.cloudapp.azure.com:4502/crx/-/jcr:root/conten= t/foo/ =C2=A0 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.jc= r.PathNotFoundException: rep:policy // ...etc{code} =C2=A0 Configuring options for the JVM to use=C2=A0SSL and running the following c= ommand - although /content/foo already exists on both source and destinatio= n - fails with error "[ERROR] Error while retrieving src node /content/foo:= javax.jcr.PathNotFoundException: /content/foo" =C2=A0 {code:java} export VLT_OPTS=3D"-Djavax.net.ssl.trustStore=3D/Users/john/server-keystore= .pkcs12 -Djavax.net.ssl.trustStorePassword=3Dchangeit -Djavax.net.ssl.trust= StoreType=3Dpkcs12" vlt rcp --recursive --batchSize 50 --update --newer=C2=A0 https://admin:pas= sword@some-host.westeurope.cloudapp.azure.com/crx/-/jcr:root/content/foo=C2= =A0 http://admin:admin@localhost:4502/crx/-/jcr:root/content/foo [ERROR] Error while retrieving src node /content/foo: javax.jcr.PathNotFoun= dException: /content/foo {code} =C2=A0 -Can vlt rcp log more verbose output for inspection/ diagnosis?-=C2=A0 Ok, = bad question - the logging directive is clear in the documentation=C2=A0*--= log-level trace*=C2=A0etc.=C2=A0 But I'm still puzzled as to why the comman= d works over http but not over https (SSL considered and allowed for)?=C2= =A0 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 co= rrect copying of content nodes, suggesting the specified content path exist= s=C2=A0: =C2=A0 {code:java} vlt rcp=C2=A0--recursive --batchSize 50 --update --newer=C2=A0http://admin:= password@some-host.westeurope.cloudapp.azure.com:4502/crx/-/jcr:root/conten= t/foo/ =C2=A0 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.jc= r.PathNotFoundException: rep:policy // ...etc{code} =C2=A0 Configuring options for the JVM to use=C2=A0SSL and running the following c= ommand - although /content/foo already exists on both source and destinatio= n - fails with error "[ERROR] Error while retrieving src node /content/foo:= javax.jcr.PathNotFoundException: /content/foo" =C2=A0 {code:java} export VLT_OPTS=3D"-Djavax.net.ssl.trustStore=3D/Users/john/server-keystore= .pkcs12 -Djavax.net.ssl.trustStorePassword=3Dchangeit -Djavax.net.ssl.trust= StoreType=3Dpkcs12" vlt rcp --recursive --batchSize 50 --update --newer=C2=A0 https://admin:pas= sword@some-host.westeurope.cloudapp.azure.com/crx/-/jcr:root/content/foo=C2= =A0 http://admin:admin@localhost:4502/crx/-/jcr:root/content/foo [ERROR] Error while retrieving src node /content/foo: javax.jcr.PathNotFoun= dException: /content/foo {code} =C2=A0 -Can vlt rcp log more verbose output for inspection/ diagnosis?-=C2=A0 Ok, = bad question - the logging directive is clear in the documentation=C2=A0*--= log-level trace*=C2=A0etc.=C2=A0 But I'm still puzzled as to why the comman= d works over http but not over https (SSL considered and allowed for)=C2=A0 > 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 htt= p but not https. > This command (with complex password replaced with 'password') results in = correct copying of content nodes, suggesting the specified content path exi= sts=C2=A0: > =C2=A0 > {code:java} > vlt rcp=C2=A0--recursive --batchSize 50 --update --newer=C2=A0http://admi= n:password@some-host.westeurope.cloudapp.azure.com:4502/crx/-/jcr:root/cont= ent/foo/ =C2=A0 http://admin:admin@localhost:4502/crx/-/jcr:root/content/fo= o > 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} > =C2=A0 > Configuring options for the JVM to use=C2=A0SSL and running the following= command - although /content/foo already exists on both source and destinat= ion - fails with error "[ERROR] Error while retrieving src node /content/fo= o: javax.jcr.PathNotFoundException: /content/foo" > =C2=A0 > {code:java} > export VLT_OPTS=3D"-Djavax.net.ssl.trustStore=3D/Users/john/server-keysto= re.pkcs12 -Djavax.net.ssl.trustStorePassword=3Dchangeit -Djavax.net.ssl.tru= stStoreType=3Dpkcs12" > vlt rcp --recursive --batchSize 50 --update --newer=C2=A0 https://admin:p= assword@some-host.westeurope.cloudapp.azure.com/crx/-/jcr:root/content/foo= =C2=A0 http://admin:admin@localhost:4502/crx/-/jcr:root/content/foo > [ERROR] Error while retrieving src node /content/foo: javax.jcr.PathNotFo= undException: /content/foo > {code} > =C2=A0 > -Can vlt rcp log more verbose output for inspection/ diagnosis?-=C2=A0 Ok= , bad question - the logging directive is clear in the documentation=C2=A0*= --log-level trace*=C2=A0etc.=C2=A0 But I'm still puzzled as to why the comm= and works over http but not over https (SSL considered and allowed for)?=C2= =A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)