[ 
https://issues.apache.org/jira/browse/KARAF-4580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15376876#comment-15376876
 ] 

ASF subversion and git services commented on KARAF-4580:
--------------------------------------------------------

Commit 9f270e96fa38ee3d7bd50f192777d4a9ae6ce295 in karaf-decanter's branch 
refs/heads/master from [~jbonofre]
[ https://git-wip-us.apache.org/repos/asf?p=karaf-decanter.git;h=9f270e9 ]

[KARAF-4580] Fix elasticsearch path on Windows


> Installing elasticsearch feature fails on Windows
> -------------------------------------------------
>
>                 Key: KARAF-4580
>                 URL: https://issues.apache.org/jira/browse/KARAF-4580
>             Project: Karaf
>          Issue Type: Bug
>          Components: decanter
>    Affects Versions: decanter-1.1.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: decanter-1.1.1
>
>
> When installing the {{elasticsearch}} feature on Windows, we got the 
> following exception:
> {code}
> [4:08:18 PM] Xavier Mouchot: 16:07:39,886 | INFO  | pool-53-thread-1 | 
> anter.elasticsearch.EmbeddedNode   67 | 279 - 
> org.apache.karaf.decanter.elasticsearch-2.x - 1.1.0 | Starting Elasticsearch 
> node ...
> 16:07:40,766 | ERROR | pool-53-thread-1 | ?                                   
> ? | 279 - org.apache.karaf.decanter.elasticsearch-2.x - 1.1.0 | 
> [org.apache.karaf.decanter.elasticsearch(1)] The acticate method has thrown 
> an exception
> java.nio.file.InvalidPathException: Illegal char <:> at index 2: 
> /C:/Talend/6.1.1/runtime//elasticsearch/plugins
>       at 
> sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)[:1.7.0_80]
>       at 
> sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)[:1.7.0_80]
>       at 
> sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)[:1.7.0_80]
>       at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)[:1.7.0_80]
>       at 
> sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)[:1.7.0_80]
>       at org.elasticsearch.common.io.PathUtils.get(PathUtils.java:60)
>       at org.elasticsearch.env.Environment.<init>(Environment.java:117)
>       at 
> org.elasticsearch.node.internal.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:81)
>       at org.elasticsearch.node.Node.<init>(Node.java:128)
>       at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:145)
>       at 
> org.apache.karaf.decanter.elasticsearch.EmbeddedNode.start(EmbeddedNode.java:108)
>       at 
> org.apache.karaf.decanter.elasticsearch.EmbeddedNode.acticate(EmbeddedNode.java:63)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)[:1.7.0_80]
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_80]
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_80]
>       at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_80]
>       at 
> org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:222)[277:org.apache.felix.scr:2.0.2]
>       at 
> org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37)[277:org.apach
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to