Skip to main content



      Home
Home » Archived » Eclipse Communications Framework (ECF) » Installing Zookeeper Discovery
Installing Zookeeper Discovery [message #1707474] Fri, 04 September 2015 22:53 Go to next message
Eclipse UserFriend
I'm seeing an error when trying to install the Zookeeper discovery provider using the following command:

karaf@root>feature:install ecf-remoteservices-discprovider-zookeeper

java.lang.IllegalStateException: Can't install feature ecf-remoteservices-discprovider-zookeeper/0.0.0:
Could not start bundle http://download.eclipse.org/rt/ecf/3.10.1/site.p2/plugins/org.eclipse.ecf.provider.zookeeper_1.2.100.v20150810-1719.jar in feature(s) ecf-remoteservices-discprovider-zookeeper-3.10.1: Activator start error in bundle org.eclipse.ecf.provider.zookeeper [262].
at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:405)
at Proxyfc0b58ba_64d1_4d2e_b0df_e6d69d3d036f.installFeature(Unknown Source)
at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:72)
at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)
at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.4]
at Proxy55ab043c_99c8_4e6b_b923_adb0f612ff32.execute(Unknown Source)
at Proxy55ab043c_99c8_4e6b_b923_adb0f612ff32.execute(Unknown Source)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208)
at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)
at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_51]
at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.4]
at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[25:org.apache.karaf.shell.console:3.0.4]

Is anybody else able to install the ECF 3.10.1 Zookeeper discovery provider?
Re: Installing Zookeeper Discovery [message #1707481 is a reply to message #1707474] Sat, 05 September 2015 04:46 Go to previous messageGo to next message
Eclipse UserFriend
I am not aware of any Karaf implementations. Don't you have more stacktrace information? it is hard to tell from this trace what actually caused the problem.

Cheers,

Wim

[Updated on: Sat, 05 September 2015 04:47] by Moderator

Re: Installing Zookeeper Discovery [message #1707488 is a reply to message #1707474] Sat, 05 September 2015 09:43 Go to previous messageGo to next message
Eclipse UserFriend
David Sousa wrote on Fri, 04 September 2015 22:53
I'm seeing an error when trying to install the Zookeeper discovery provider using the following command:

karaf@root>feature:install ecf-remoteservices-discprovider-zookeeper

java.lang.IllegalStateException: Can't install feature ecf-remoteservices-discprovider-zookeeper/0.0.0:
Could not start bundle http://download.eclipse.org/rt/ecf/3.10.1/site.p2/plugins/org.eclipse.ecf.provider.zookeeper_1.2.100.v20150810-1719.jar in feature(s) ecf-remoteservices-discprovider-zookeeper-3.10.1: Activator start error in bundle org.eclipse.ecf.provider.zookeeper [262].
at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:405)
at Proxyfc0b58ba_64d1_4d2e_b0df_e6d69d3d036f.installFeature(Unknown Source)
at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:72)
at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:38)
at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)[25:org.apache.karaf.shell.console:3.0.4]
at Proxy55ab043c_99c8_4e6b_b923_adb0f612ff32.execute(Unknown Source)
at Proxy55ab043c_99c8_4e6b_b923_adb0f612ff32.execute(Unknown Source)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)[25:org.apache.karaf.shell.console:3.0.4]
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208)
at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)
at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_51]
at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)[26:org.apache.karaf.jaas.modules:3.0.4]
at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)[25:org.apache.karaf.shell.console:3.0.4]

Is anybody else able to install the ECF 3.10.1 Zookeeper discovery provider?


Is there any further information (from log, etc) about why the Zookeeper discovery provider is not starting?...i.e. a cause exception stack?
Re: Installing Zookeeper Discovery [message #1707489 is a reply to message #1707481] Sat, 05 September 2015 09:58 Go to previous messageGo to next message
Eclipse UserFriend
Wim,

I'm using ServiceMix 6.0.0, which uses Karaf 3.0.4. I've tried with the karaf.framework property in config.properties set to felix and equinox if that matters.

This is all of the trace that was in the Karaf log file. The log level was set to debug.

Thanks,
Dave
Re: Installing Zookeeper Discovery [message #1707518 is a reply to message #1707489] Sun, 06 September 2015 11:00 Go to previous messageGo to next message
Eclipse UserFriend
Installing the Zookeeper discovery provider into a standalone installation of Karaf 3.0.4 works. So, something is causing problems with the installation into ServiceMix 6.0.0.

This is the Apache Zookeeper bundle listed in the standalone Karaf:
108 Apache ZooKeeper org.apache.hadoop.zookeeper 3.3.3.v201105210832 Active

This is the Apache Zookeeper bundle listed in ServiceMix:
154 ZooKeeper Bundle org.apache.hadoop.zookeeper 3.4.6 Active

Have there been any issues noted with running Zoodiscovery using Zookeeper 3.4.6?
Re: Installing Zookeeper Discovery [message #1707652 is a reply to message #1707518] Tue, 08 September 2015 07:39 Go to previous message
Eclipse UserFriend
Hi David,

Yes, we only run on 3.3.3 atm. There are known problems with 3.4 because of an API change.

Cheers,

Wim
Previous Topic:Install ECF into Karaf Offline
Next Topic:BIRT - Girid is not working while deploying
Goto Forum:
  


Current Time: Thu Mar 20 05:48:02 EDT 2025

Powered by FUDForum. Page generated in 0.04572 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top