karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanoussy DIALLO (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (KARAF-4580) Installing elasticsearch feature fails on Windows
Date Fri, 15 Jul 2016 16:00:21 GMT

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

Sanoussy DIALLO edited comment on KARAF-4580 at 7/15/16 3:59 PM:
-----------------------------------------------------------------

Hi,

I'm testing this new version with windows and I access to elasticsearch (http://localhost:9200/)
with this version, can you confirm to me it's a bug.

Here is my logs:

2016-07-15 17:31:24,613 | ERROR | pool-57-thread-1 | x                                | 67
- org.apache.karaf.decanter.elasticsearch-2.x - 1.1.1.SNAPSHOT | [org.apache.karaf.decanter.elasticsearch(2)]
The acticate method has thrown an exception
java.nio.file.InvalidPathException: Illegal char <:> at index 0: :/apache-karaf-4.0.5/elasticsearch/plugins
	at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)[:1.8.0_77]
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)[:1.8.0_77]
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)[:1.8.0_77]
	at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)[:1.8.0_77]
	at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)[:1.8.0_77]
	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:114)
	at org.apache.karaf.decanter.elasticsearch.EmbeddedNode.acticate(EmbeddedNode.java:65)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_77]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_77]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_77]
	at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_77]
	at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:222)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:615)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:295)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:302)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:113)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:866)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:833)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:724)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:399)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:676)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:339)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:360)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.Activator.access$000(Activator.java:53)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:260)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)[61:org.apache.felix.scr:2.0.2]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482)[org.osgi.core-6.0.0.jar:]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:415)[org.osgi.core-6.0.0.jar:]
	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)[org.osgi.core-6.0.0.jar:]
	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)[org.osgi.core-6.0.0.jar:]
	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:916)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:835)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:517)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2172)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1262)[9:org.apache.karaf.features.core:4.0.5]
	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:840)[9:org.apache.karaf.features.core:4.0.5]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1152)[9:org.apache.karaf.features.core:4.0.5]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1048)[9:org.apache.karaf.features.core:4.0.5]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_77]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_77]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_77]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_77]
2016-07-15 17:31:24,616 | ERROR | pool-57-thread-1 | x                                | 67
- org.apache.karaf.decanter.elasticsearch-2.x - 1.1.1.SNAPSHOT | [org.apache.karaf.decanter.elasticsearch(2)]
Failed creating the component instance; see log for reason
2016-07-15 17:31:24,616 | INFO  | pool-57-thread-1 | FeaturesServiceImpl              | 9
- org.apache.karaf.features.core - 4.0.5 |   org.apache.karaf.decanter.marshaller.json/1.1.1.SNAPSHOT


was (Author: diallos):
Hi,

I'm testing this new version with windows and I cannot start elasticsearch with this version,
can you confirm to me it's a bug.

Here is my logs:

2016-07-15 17:31:24,613 | ERROR | pool-57-thread-1 | x                                | 67
- org.apache.karaf.decanter.elasticsearch-2.x - 1.1.1.SNAPSHOT | [org.apache.karaf.decanter.elasticsearch(2)]
The acticate method has thrown an exception
java.nio.file.InvalidPathException: Illegal char <:> at index 0: :/apache-karaf-4.0.5/elasticsearch/plugins
	at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)[:1.8.0_77]
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)[:1.8.0_77]
	at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)[:1.8.0_77]
	at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)[:1.8.0_77]
	at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)[:1.8.0_77]
	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:114)
	at org.apache.karaf.decanter.elasticsearch.EmbeddedNode.acticate(EmbeddedNode.java:65)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_77]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_77]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_77]
	at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_77]
	at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:222)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:37)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:615)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:499)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:295)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:302)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:113)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:866)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:833)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:724)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:399)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:676)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:339)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:360)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.Activator.access$000(Activator.java:53)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:260)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)[61:org.apache.felix.scr:2.0.2]
	at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)[61:org.apache.felix.scr:2.0.2]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482)[org.osgi.core-6.0.0.jar:]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:415)[org.osgi.core-6.0.0.jar:]
	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)[org.osgi.core-6.0.0.jar:]
	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)[org.osgi.core-6.0.0.jar:]
	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:916)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:835)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:517)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2172)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)[org.apache.felix.framework-5.4.0.jar:]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1262)[9:org.apache.karaf.features.core:4.0.5]
	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:840)[9:org.apache.karaf.features.core:4.0.5]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1152)[9:org.apache.karaf.features.core:4.0.5]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1048)[9:org.apache.karaf.features.core:4.0.5]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_77]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_77]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_77]
	at java.lang.Thread.run(Thread.java:745)[:1.8.0_77]
2016-07-15 17:31:24,616 | ERROR | pool-57-thread-1 | x                                | 67
- org.apache.karaf.decanter.elasticsearch-2.x - 1.1.1.SNAPSHOT | [org.apache.karaf.decanter.elasticsearch(2)]
Failed creating the component instance; see log for reason
2016-07-15 17:31:24,616 | INFO  | pool-57-thread-1 | FeaturesServiceImpl              | 9
- org.apache.karaf.features.core - 4.0.5 |   org.apache.karaf.decanter.marshaller.json/1.1.1.SNAPSHOT

> 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)

Mime
View raw message