[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] DS and zookeeper

hi Bryan,

thanks for the help.

i don't know the plugin that need to have   "Activate this plug-in when one of its classes is loaded".

Anyway i have been managed to run the hello example, but i need to change some things in launch configuration.

the plugins that need parameter autostart=true in the host side are:

Ds plugin need to define autostart level greater than plugins that contains DS component.i use level 5 for ds plugin and default level 4 for DS component definition plugins.

if i'm using generic distribution provider, how can i define port and server address. I don't see this parameters in launch configuration or in the properties of DS component. I guess it is using default parameters, but if i want to change it, where must define server address?

thanks in advance,

2011/4/26 Bryan Hunt <bhunt@xxxxxxx>
There a couple of simple things to check ...

  1. Make sure org.eclipse.ecf.osgi.services.distribution is in the ACTIVE state (I set Auto-Start to true in my launch configuration)
  2. Make sure org.eclipse.update.configurator is not in your launch configuration
  3. Make sure you have "Activate this plug-in when one of its classes is loaded" checked in the MANIFEST.MF


On Apr 26, 2011, at 6:26 AM, mike howard wrote:

Hi all,

i'm trying to configure the hello service example using declarative service, but using zookeeper instead of zeroconf.
To do this, i have clone the launch configuration of Hello DS host (zerocong, generic) and change plugin org.eclipse.ecf.provider.jmdns by plugins org.apache.hadoop.zookeeper and org.eclipse.ecf.provider.zookeeper (both with autostart=true). i also change launch configuration to add new parameters -Dzoodiscovery.dataDir=zookeeperdata2

when i launch new Hello DS host configuration, i can see that zooDiscovery is started ( trace ZooDiscovery> Discovery Service Activated ), but when i check hello service status, it's configured but no bundle is using it.

i did the same thing with the client configuration (launch parameters -Dzoodiscovery.autoStart=true; -Dzoodiscovery.flavor=zoodiscovery.flavor.standalone=localhost:2001;clientPort=2002), but when i launch it, it doesn't work.

need additional parameters, or zoodiscovey doen't work with DS?

thanks in advance.
ecf-dev mailing list

ecf-dev mailing list