Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3BB5E200D50 for ; Mon, 20 Nov 2017 04:53:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 39FC4160C0C; Mon, 20 Nov 2017 03:53:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8021F160C0B for ; Mon, 20 Nov 2017 04:53:05 +0100 (CET) Received: (qmail 89290 invoked by uid 500); 20 Nov 2017 03:53:04 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 89279 invoked by uid 99); 20 Nov 2017 03:53:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Nov 2017 03:53:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2F1F91A1628 for ; Mon, 20 Nov 2017 03:53:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id qAn7TfqRSL38 for ; Mon, 20 Nov 2017 03:53:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 1517A5F569 for ; Mon, 20 Nov 2017 03:53:02 +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 87A3FE05C1 for ; Mon, 20 Nov 2017 03:53:01 +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 F2867240D2 for ; Mon, 20 Nov 2017 03:53:00 +0000 (UTC) Date: Mon, 20 Nov 2017 03:53:00 +0000 (UTC) From: "Xilai Dai (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (KARAF-5493) InvalidPathException is thrown when execute config:property-set command from ssh client MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 20 Nov 2017 03:53:06 -0000 Xilai Dai created KARAF-5493: -------------------------------- Summary: InvalidPathException is thrown when execute config:property-set command from ssh client Key: KARAF-5493 URL: https://issues.apache.org/jira/browse/KARAF-5493 Project: Karaf Issue Type: Bug Components: karaf-shell Affects Versions: 4.1.3 Environment: Windows, JDK 1.8.0 Reporter: Xilai Dai Considering execute this command from ssh client: {code} client.bat -h localhost -u karaf "config:edit org.talend.esb.job.client.sts; config:property-set sts.wsdl.location http://infrastructure:8040/services/SecurityTokenService/UT?wsdl; config:update" {code} It works like a charm on Karaf 4.1.1/4.1.2. but it failed with InvalidPathException on Karaf 4.1.3 {code} 2017-11-20T11:34:10,954 | ERROR | Thread-39 | ShellUtil | 42 - org.apache.karaf.shell.core - 4.1.3 | Exception caught while executing command java.nio.file.InvalidPathException: Illegal char <:> at index 4: http://infrastructure:8040/services/SecurityTokenService at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182) [?:?] at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153) [?:?] at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77) [?:?] at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94) [?:?] at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255) [?:?] at sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53) [?:?] at org.apache.felix.gogo.runtime.Expander.generateFileNames(Expander.java:595) [42:org.apache.karaf.shell.core:4.1.3] at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:131) [42:org.apache.karaf.shell.core:4.1.3] at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:73) [42:org.apache.karaf.shell.core:4.1.3] at org.apache.felix.gogo.runtime.Expander.expand(Expander.java:58) [42:org.apache.karaf.shell.core:4.1.3] at org.apache.felix.gogo.runtime.Closure.eval(Closure.java:370) [42:org.apache.karaf.shell.core:4.1.3] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:434) [42:org.apache.karaf.shell.core:4.1.3] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:386) [42:org.apache.karaf.shell.core:4.1.3] at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:417) [42:org.apache.karaf.shell.core:4.1.3] at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:229) [42:org.apache.karaf.shell.core:4.1.3] at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59) [42:org.apache.karaf.shell.core:4.1.3] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?] at java.lang.Thread.run(Thread.java:745) [?:?] {code} The same ERROR if put the commands above into a source script and execute "source ..." command from ssh client. -- This message was sent by Atlassian JIRA (v6.4.14#64029)