Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » OSGi Remote DS product configuration works only inside Eclipse [SOLVED](the product exported through the configuration does not work outside eclipse)
OSGi Remote DS product configuration works only inside Eclipse [SOLVED] [message #727722] Wed, 21 September 2011 21:29 Go to next message
Stefano Ghio is currently offline Stefano GhioFriend
Messages: 12
Registered: September 2011
Junior Member
Greetings,

I'm working on Eclipse STS 2.7.2 with Java JDK 1.6, Windows XP SP3. I work behind a proxy which requires authentication.

I wrote two simple client and server plugins which work using DS and Zookeeper discovery. They refer to an IHello interface bundled in a third plugin.

The server publishes a simple Hello service which returns a string "hello" when invoked on 192.16.23.28:6666/hello and starts Zookeper with VM arguments -Dzoodiscovery.dataDir=bla
-Dzoodiscovery.flavor=zoodiscovery.flavor.standalone=192.168.23.28:3030;clientPort=3031

xml is:
<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="NOLINKALLOWED" name="it.eng.test.remote.ds.helloservice">
<implementation class="it.eng.test.remote.ds.helloservice.HelloService"/>
<property name="service.exported.interfaces" type="String" value="*"/>
<property name="service.exported.configs" type="String" value="ecf.generic.server"/>
<property name="ecf.exported.containerfactoryargs" type="String" value="ecftcp://192.168.23.28:6666/hello"/>
<service>
<provide interface="it.eng.test.remote.ds.hello.IHello"/>
</service>
</scr:component>

the client starts Zookeeper with VM arguments
-Dzoodiscovery.autoStart=true
-Dzoodiscovery.flavor=zoodiscovery.flavor.standalone=192.168.23.28:3031;clientPort=3030

In both cases the osgi framework is started with the -console -consoleLog -clean arguments.

I then created two separated run configuration for both server and client adding all required bundles (most important ones: org.eclipse.ecf.provider.remoteservice and org.eclipse.ecf.provider.zookeeper) and their dependencies.

Based on that configuration I defined two separated product configurations for both client and server.

Now, if I run them by clicking on the link "Launch an Eclipse application" inside the product configuration, everything works. The server publishes the service, the client gets it and shows "Hello" on output. netstat -a | grep 6666 shows that someone is listening on that port and netstat -a | grep 30 shows that port 3030 and 3031 are being used.

Eclipse is configured to use my proxy correctly.

If I export them as an Eclipse product based on the aforementioned configurations, I get two folders: client and server.

Inside them there's everything needed to run the applications inside an OSGi framework, including configuration files for both the framework and the VM. Starting the server works, I see someone listening on 6666 and zookeeper reports that the service has been published.

If I start the client, nothing happens. No output, no connections on 3030 and 3031, no errors. It simply does nothing.

Using localhost instead of my IP changes nothing, it works inside Eclipse but not outside.

Any suggestion?

Thank you

[Updated on: Mon, 26 September 2011 11:11]

Report message to a moderator

Re: OSGi Remote DS example not working [message #729449 is a reply to message #727722] Mon, 26 September 2011 08:19 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus KuppeFriend
Messages: 177
Registered: July 2009
Senior Member
On 09/21/2011 11:29 PM, Stefano Ghio wrote:
> Greetings,
>
> I have a problem trying to get to work the remote DS example from the
> guide EIG:Getting_Started_with_OSGi_Remote_Services. In particular I'm
> referring to: org.eclipse.ecf.examples.remoteservices.hello.host.ds,
> org.eclipse.ecf.examples.remoteservices.hello.consumer.ds and
> org.eclipse.ecf.examples.remoteservices.hello
>
>
> The problem occurs in Eclipse Helios, Eclipse Indigo and STS 2.6.2. All
> of them have the ECF remote services target components installed
> although not exactly as the guide says(refer to thread: A problem with
> install ECF 3.5.2 message 722064). It occurs on both Java1.6 and 1.7
> SDK, I even modified the MANIFEST properly to require one of those
> environments.
>
> I can compile the code with no problems but when I run (run as->OSGi
> framework, select all dependencies and nothing more and successfully
> validate the bundles prior to launching) nothing happens, the bundles
> are there, I can start/stop them but I see no output on the console.
> Moreover, if I netstat -a there are no services listening on the port
> 3787 specified in the OSGI-INF/hello.xml
>
> Plus, if I look at the services exported, none of the said bundles
> exports/uses the services it declares in its xml configuration, even
> looking at the bundle info it does not show any exported or reference
> services, only exported/required packages.
>
> Starting the bundles with the framework or later does not change a
> thing, I still see no output and no services exported.
>
>
> Sorry I didn't provide direct links but the system does not allow me to
> do so right now.
>
> Thanks for your help,
> cheers

Hi Stefano,

please post the list of bundles ("ss") and services ("services") on both
host and consumer side.

Thanks
Markus
Re: OSGi Remote DS example not working [message #729479 is a reply to message #729449] Mon, 26 September 2011 09:36 Go to previous messageGo to next message
Stefano Ghio is currently offline Stefano GhioFriend
Messages: 12
Registered: September 2011
Junior Member
Hi,

it's going to be a long post.. I will post first what I get if I launch them from WITHIN Eclipse

here's server side bundles list (my bundles are 24, 26):

osgi> ss

Framework is launched.

id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.7.0.v20110613
	            Fragments=2, 6, 20
1	<<LAZY>>    org.eclipse.core.contenttype_3.4.100.v20110423-0524
2	RESOLVED    org.eclipse.persistence.jpa.equinox.weaving_2.3.0.v20110604-r9504
	            Master=0
3	ACTIVE      org.eclipse.core.jobs_3.5.100.v20110404
4	ACTIVE      org.eclipse.equinox.preferences_3.4.0.v20110502
5	ACTIVE      org.eclipse.equinox.util_1.0.300.v20110502
6	RESOLVED    javax.transaction_1.1.1.v201105210645
	            Master=0
7	ACTIVE      org.eclipse.osgi.services_3.3.0.v20110513
8	ACTIVE      org.eclipse.ecf.identity_3.1.100.v20110531-2218
9	ACTIVE      org.apache.log4j_1.2.15.v201012070815
10	ACTIVE      org.eclipse.equinox.registry_3.5.100.v20110502
	            Fragments=22
11	ACTIVE      org.eclipse.ecf.provider_4.2.0.v20110829-0349
12	ACTIVE      org.eclipse.ecf.remoteservice_6.0.200.v20110829-0349
13	ACTIVE      org.eclipse.ecf.sharedobject_2.2.100.v20110829-0349
14	RESOLVED    org.eclipse.ecf.ssl_1.0.100.v20110531-2218
	            Master=21
15	ACTIVE      org.eclipse.core.runtime_3.7.0.v20110110
16	ACTIVE      org.eclipse.ecf.discovery_4.0.0.v20110829-0349
17	ACTIVE      org.eclipse.equinox.ds_1.3.0.v20110502
18	ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349
19	ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy_1.0.0.v20110829-0349
20	RESOLVED    org.eclipse.equinox.weaving.hook_1.0.100.HEAD
	            Master=0
21	ACTIVE      org.eclipse.ecf_3.1.300.v20110531-2218
	            Fragments=14
22	RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.5.0.v20110505
	            Master=10
23	ACTIVE      org.eclipse.equinox.common_3.6.0.v20110523
-> 24	RESOLVED    it.eng.test.remote.ds.hello_1.0.0.qualifier
25	ACTIVE      org.eclipse.osgi.services.remoteserviceadmin_1.0.0.v20110828-1633
-> 26	ACTIVE      it.eng.test.remote.ds.helloservice_1.0.0.qualifier
27	ACTIVE      org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349
28	ACTIVE      org.eclipse.equinox.app_1.3.100.v20110321
29	ACTIVE      org.eclipse.ecf.provider.remoteservice_4.0.0.v20110829-0349
30	ACTIVE      org.apache.hadoop.zookeeper_3.3.3.v201105210832
31	ACTIVE      org.eclipse.ecf.provider.zookeeper_1.0.100.v20110829-0349
32	ACTIVE      org.eclipse.equinox.concurrent_1.0.200.v20110502


and services:

osgi> services
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647, service.id=2}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.packageadmin.PackageAdmin}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.framework.internal.core.PackageAdminImpl, service.vendor=Eclipse.org - Equinox, service.id=4}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [15]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [4]
    org.eclipse.core.jobs_3.5.100.v20110404 [3]
    org.eclipse.equinox.app_1.3.100.v20110321 [28]
    org.eclipse.equinox.registry_3.5.100.v20110502 [10]
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [27]
{org.osgi.service.permissionadmin.PermissionAdmin, org.osgi.service.condpermadmin.ConditionalPermissionAdmin}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.internal.permadmin.SecurityAdmin, service.vendor=Eclipse.org - Equinox, service.id=5}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.osgi.service.startlevel.StartLevel}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.framework.internal.core.StartLevelManager, service.vendor=Eclipse.org - Equinox, service.id=6}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.debug.DebugOptions}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.framework.debug.FrameworkDebugOptions, service.vendor=Eclipse.org - Equinox, service.id=7}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [15]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [4]
    org.eclipse.core.jobs_3.5.100.v20110404 [3]
    org.eclipse.equinox.registry_3.5.100.v20110502 [10]
    org.eclipse.ecf.identity_3.1.100.v20110531-2218 [8]
{java.lang.ClassLoader}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.ContextFinder, service.vendor=Eclipse.org - Equinox, equinox.classloader.type=contextClassLoader, service.id=8}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.framework.log.FrameworkLog}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseLogFactory, service.vendor=Eclipse.org - Equinox, service.id=11}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.ds_1.3.0.v20110502 [17]
    org.eclipse.equinox.app_1.3.100.v20110321 [28]
{org.eclipse.osgi.service.environment.EnvironmentInfo}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseEnvironmentInfo, service.vendor=Eclipse.org - Equinox, service.id=21}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.core.runtime_3.7.0.v20110110 [15]
{org.eclipse.osgi.service.resolver.PlatformAdmin}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.internal.baseadaptor.StateManager, service.vendor=Eclipse.org - Equinox, service.id=22}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.pluginconversion.PluginConverter}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl, service.vendor=Eclipse.org - Equinox, service.id=23}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseCommandProvider, service.vendor=Eclipse.org - Equinox, service.id=24}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.service.localization.BundleLocalization}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.BundleLocalizationImpl, service.vendor=Eclipse.org - Equinox, service.id=25}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647, service.id=31}
  Registered by bundle: org.eclipse.equinox.ds_1.3.0.v20110502 [17]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.framework.console.ConsoleSession}={console.systemInOut=true, service.id=3}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.log.LogReaderService, org.eclipse.equinox.log.ExtendedLogReaderService}={service.id=9}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [15]
{org.osgi.service.log.LogService, org.eclipse.equinox.log.ExtendedLogService}={service.id=10}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [15]
    org.eclipse.ecf.provider.zookeeper_1.0.100.v20110829-0349 [31]
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [18]
{javax.xml.parsers.SAXParserFactory}={service.id=13}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.registry_3.5.100.v20110502 [10]
{javax.xml.parsers.DocumentBuilderFactory}={service.id=14}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.user.area, service.id=15}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.instance.area, service.id=16}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [4]
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.configuration.area, service.id=17}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [4]
    org.eclipse.equinox.app_1.3.100.v20110321 [28]
    org.eclipse.equinox.registry_3.5.100.v20110502 [10]
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.install.area, service.id=18}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
{org.eclipse.osgi.service.datalocation.Location}={type=eclipse.home.location, service.id=19}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.urlconversion.URLConverter}={protocol=[bundleentry,bundleresource], service.id=20}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.signedcontent.SignedContentFactory}={service.id=27}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.internal.provisional.verifier.CertificateVerifierFactory}={service.id=28}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.osgi.service.framework.CompositeBundleFactory}={service.id=29}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.osgi.service.cm.ConfigurationListener}={service.id=30}
  Registered by bundle: org.eclipse.equinox.ds_1.3.0.v20110502 [17]
  No bundles using service.
{org.apache.felix.scr.ScrService}={service.id=32}
  Registered by bundle: org.eclipse.equinox.ds_1.3.0.v20110502 [17]
  No bundles using service.
{org.eclipse.osgi.service.urlconversion.URLConverter}={protocol=platform, service.id=33}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [23]
  No bundles using service.
{org.eclipse.core.runtime.IAdapterManager}={service.id=34}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [23]
  Bundles using service:
    org.eclipse.ecf.provider_4.2.0.v20110829-0349 [11]
    org.eclipse.ecf.sharedobject_2.2.100.v20110829-0349 [13]
{org.osgi.service.url.URLStreamHandlerService}={url.handler.protocol=[platform], service.id=35}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [23]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.equinox.internal.util.threadpool.ThreadPoolManager, org.eclipse.equinox.internal.util.threadpool.ThreadPoolFactory}={service.id=36}
  Registered by bundle: org.eclipse.equinox.util_1.0.300.v20110502 [5]
  Bundles using service:
    org.eclipse.equinox.ds_1.3.0.v20110502 [17]
{org.eclipse.equinox.internal.util.timer.Timer}={service.id=37}
  Registered by bundle: org.eclipse.equinox.util_1.0.300.v20110502 [5]
  No bundles using service.

->>>>>>>
{it.eng.test.remote.ds.hello.IHello}={ecf.exported.containerfactoryargs=ecftcp://localhost:6666/hello, component.name=it.eng.test.remote.ds.helloservice, component.id=0, service.exported.configs=ecf.generic.server, service.exported.interfaces=*, service.id=38}
  Registered by bundle: it.eng.test.remote.ds.helloservice_1.0.0.qualifier [26]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [27]
->>>>>>>

{org.eclipse.core.internal.preferences.exchange.IProductPreferencesService}={service.id=39}
  Registered by bundle: org.eclipse.core.runtime_3.7.0.v20110110 [15]
  No bundles using service.
{org.eclipse.core.runtime.preferences.IPreferencesService}={service.id=40}
  Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110502 [4]
  No bundles using service.
{org.osgi.service.prefs.PreferencesService}={service.id=41}
  Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110502 [4]
  No bundles using service.
{org.eclipse.core.runtime.jobs.IJobManager}={service.id=42}
  Registered by bundle: org.eclipse.core.jobs_3.5.100.v20110404 [3]
  No bundles using service.
{org.eclipse.core.runtime.IExtensionRegistry}={service.id=43}
  Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20110502 [10]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [4]
    org.eclipse.equinox.app_1.3.100.v20110321 [28]
    org.eclipse.ecf.identity_3.1.100.v20110531-2218 [8]
    org.eclipse.ecf.sharedobject_2.2.100.v20110829-0349 [13]
    org.eclipse.ecf_3.1.300.v20110531-2218 [21]
    org.eclipse.equinox.registry_3.5.100.v20110502 [10]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=44}
  Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20110502 [10]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.application.ApplicationDescriptor}={eclipse.application.type=any.thread, application.name=, application.visible=true, application.container=org.eclipse.equinox.app, service.pid=it.eng.test.remote.ds.helloservice.HelloServiceTest, application.launchable=true, eclipse.application.default=true, application.locked=false, application.location=initial@reference:file:../../Documents and Settings/GHIO/eclipse_workspace/STS/rosgi_ds/it.eng.test.remote.ds.helloservice/, service.id=45}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [28]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [28]
{org.osgi.service.application.ApplicationDescriptor}={eclipse.application.type=main.thread, application.name=, application.visible=false, application.container=org.eclipse.equinox.app, service.pid=org.eclipse.equinox.app.error, application.launchable=false, application.locked=false, application.location=initial@reference:file:plugins/org.eclipse.equinox.app_1.3.100.v20110321.jar/, service.id=46}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [28]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [28]
{org.osgi.service.application.ApplicationHandle, org.eclipse.equinox.app.IApplicationContext}={application.state=org.eclipse.equinox.app.starting, eclipse.application.type=any.thread, application.supports.exitvalue=true, eclipse.application.default=true, service.pid=it.eng.test.remote.ds.helloservice.HelloServiceTest.0, application.descriptor=it.eng.test.remote.ds.helloservice.HelloServiceTest, service.id=47}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [28]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [28]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=48}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [28]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.ecf.core.identity.IIDFactory}={service.id=49}
  Registered by bundle: org.eclipse.ecf.identity_3.1.100.v20110531-2218 [8]
  No bundles using service.
{org.osgi.service.remoteserviceadmin.RemoteServiceAdmin}={org.eclipse.ecf.rsa=true, service.id=50}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [18]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [27]
{javax.net.ssl.SSLSocketFactory}={service.id=55}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [21]
  No bundles using service.
{org.eclipse.ecf.core.IContainerFactory}={service.id=56}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [21]
  No bundles using service.
{org.eclipse.ecf.core.IContainerManager}={service.id=57}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [21]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [18]
{org.osgi.service.remoteserviceadmin.EndpointListener}={endpoint.listener.scope=(!(endpoint.framework.uuid=707a1f6d-1de8-0010-178e-c64a5bd97bb1)), service.id=58}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [27]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [18]
{org.osgi.framework.hooks.service.EventHook}={service.id=59}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [27]
  No bundles using service.
{org.eclipse.ecf.discovery.IDiscoveryLocator, org.eclipse.ecf.discovery.IDiscoveryAdvertiser}={org.eclipse.ecf.discovery.containerName=ecf.discovery.zoodiscovery, service.id=62}
  Registered by bundle: org.eclipse.ecf.provider.zookeeper_1.0.100.v20110829-0349 [31]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [18]
{org.eclipse.osgi.service.runnable.StartupMonitor}={service.ranking=-2147483648, service.id=1}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.framework.log.FrameworkLog}={service.ranking=-2147483648, performance=true, service.pid=46org.eclipse.core.runtime.internal.adaptor.EclipseLogFactory$1, service.vendor=Eclipse.org - Equinox, service.id=12}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [28]
{org.eclipse.osgi.service.security.TrustEngine}={service.ranking=-2147483648, osgi.signedcontent.trust.engine=org.eclipse.osgi, service.id=26}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IEndpointDescriptionAdvertiser}={service.ranking=-2147483648, service.id=51}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [18]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [27]
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IServiceInfoFactory}={service.ranking=-2147483648, service.id=52}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [18]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [18]
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IDiscoveredEndpointDescriptionFactory}={service.ranking=-2147483648, service.id=53}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [18]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [18]
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IEndpointDescriptionReader}={service.ranking=-2147483648, service.id=54}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [18]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IHostContainerSelector}={service.ranking=-2147483648, service.id=60}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [27]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [27]
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IConsumerContainerSelector}={service.ranking=-2147483648, service.id=61}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [27]
  No bundles using service.


And here's the client side bundles (16,25):

osgi> ss

Framework is launched.

id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.7.0.v20110613
	            Fragments=2, 6, 21
1	ACTIVE      org.eclipse.core.contenttype_3.4.100.v20110423-0524
2	RESOLVED    org.eclipse.persistence.jpa.equinox.weaving_2.3.0.v20110604-r9504
	            Master=0
3	ACTIVE      org.eclipse.equinox.preferences_3.4.0.v20110502
4	ACTIVE      org.eclipse.core.jobs_3.5.100.v20110404
5	ACTIVE      org.eclipse.equinox.util_1.0.300.v20110502
6	RESOLVED    javax.transaction_1.1.1.v201105210645
	            Master=0
7	ACTIVE      org.eclipse.osgi.services_3.3.0.v20110513
8	ACTIVE      org.eclipse.ecf.identity_3.1.100.v20110531-2218
9	ACTIVE      org.apache.log4j_1.2.15.v201012070815
10	ACTIVE      org.eclipse.equinox.registry_3.5.100.v20110502
	            Fragments=24
11	ACTIVE      org.eclipse.ecf.provider_4.2.0.v20110829-0349
12	ACTIVE      org.eclipse.ecf.remoteservice_6.0.200.v20110829-0349
13	ACTIVE      org.eclipse.ecf.sharedobject_2.2.100.v20110829-0349
14	RESOLVED    org.eclipse.ecf.ssl_1.0.100.v20110531-2218
	            Master=22
15	ACTIVE      org.eclipse.core.runtime_3.7.0.v20110110
->16	ACTIVE      it.eng.test.remote.ds.helloconsumer_1.0.0.qualifier
17	ACTIVE      org.eclipse.ecf.discovery_4.0.0.v20110829-0349
18	ACTIVE      org.eclipse.equinox.ds_1.3.0.v20110502
19	ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349
20	ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy_1.0.0.v20110829-0349
21	RESOLVED    org.eclipse.equinox.weaving.hook_1.0.100.HEAD
	            Master=0
22	ACTIVE      org.eclipse.ecf_3.1.300.v20110531-2218
	            Fragments=14
23	ACTIVE      org.eclipse.equinox.common_3.6.0.v20110523
24	RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.5.0.v20110505
	            Master=10
->25	ACTIVE      it.eng.test.remote.ds.hello_1.0.0.qualifier
26	ACTIVE      org.eclipse.osgi.services.remoteserviceadmin_1.0.0.v20110828-1633
27	ACTIVE      org.eclipse.equinox.app_1.3.100.v20110321
28	ACTIVE      org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349
29	ACTIVE      org.eclipse.ecf.provider.remoteservice_4.0.0.v20110829-0349
30	ACTIVE      org.apache.hadoop.zookeeper_3.3.3.v201105210832
31	ACTIVE      org.eclipse.equinox.concurrent_1.0.200.v20110502
32	ACTIVE      org.eclipse.ecf.provider.zookeeper_1.0.100.v20110829-0349


and the services:

osgi> services
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647, service.id=2}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.packageadmin.PackageAdmin}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.framework.internal.core.PackageAdminImpl, service.vendor=Eclipse.org - Equinox, service.id=4}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.equinox.registry_3.5.100.v20110502 [10]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [3]
    org.eclipse.core.jobs_3.5.100.v20110404 [4]
    org.eclipse.core.runtime_3.7.0.v20110110 [15]
    org.eclipse.equinox.app_1.3.100.v20110321 [27]
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [28]
{org.osgi.service.permissionadmin.PermissionAdmin, org.osgi.service.condpermadmin.ConditionalPermissionAdmin}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.internal.permadmin.SecurityAdmin, service.vendor=Eclipse.org - Equinox, service.id=5}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.osgi.service.startlevel.StartLevel}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.framework.internal.core.StartLevelManager, service.vendor=Eclipse.org - Equinox, service.id=6}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.debug.DebugOptions}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.framework.debug.FrameworkDebugOptions, service.vendor=Eclipse.org - Equinox, service.id=7}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.equinox.registry_3.5.100.v20110502 [10]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [3]
    org.eclipse.core.contenttype_3.4.100.v20110423-0524 [1]
    org.eclipse.core.jobs_3.5.100.v20110404 [4]
    org.eclipse.ecf.identity_3.1.100.v20110531-2218 [8]
    org.eclipse.core.runtime_3.7.0.v20110110 [15]
{java.lang.ClassLoader}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.ContextFinder, service.vendor=Eclipse.org - Equinox, equinox.classloader.type=contextClassLoader, service.id=8}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.framework.log.FrameworkLog}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseLogFactory, service.vendor=Eclipse.org - Equinox, service.id=11}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.ds_1.3.0.v20110502 [18]
    org.eclipse.equinox.app_1.3.100.v20110321 [27]
{org.eclipse.osgi.service.environment.EnvironmentInfo}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseEnvironmentInfo, service.vendor=Eclipse.org - Equinox, service.id=21}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.core.runtime_3.7.0.v20110110 [15]
{org.eclipse.osgi.service.resolver.PlatformAdmin}={service.ranking=2147483647, service.pid=0.org.eclipse.osgi.internal.baseadaptor.StateManager, service.vendor=Eclipse.org - Equinox, service.id=22}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.pluginconversion.PluginConverter}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl, service.vendor=Eclipse.org - Equinox, service.id=23}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseCommandProvider, service.vendor=Eclipse.org - Equinox, service.id=24}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.service.localization.BundleLocalization}={service.ranking=2147483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.BundleLocalizationImpl, service.vendor=Eclipse.org - Equinox, service.id=25}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647, service.id=31}
  Registered by bundle: org.eclipse.equinox.ds_1.3.0.v20110502 [18]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.framework.console.ConsoleSession}={console.systemInOut=true, service.id=3}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.log.LogReaderService, org.eclipse.equinox.log.ExtendedLogReaderService}={service.id=9}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [15]
{org.osgi.service.log.LogService, org.eclipse.equinox.log.ExtendedLogService}={service.id=10}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [15]
    org.eclipse.ecf.provider.zookeeper_1.0.100.v20110829-0349 [32]
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [19]
{javax.xml.parsers.SAXParserFactory}={service.id=13}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.registry_3.5.100.v20110502 [10]
{javax.xml.parsers.DocumentBuilderFactory}={service.id=14}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.user.area, service.id=15}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.instance.area, service.id=16}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [3]
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.configuration.area, service.id=17}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.registry_3.5.100.v20110502 [10]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [3]
    org.eclipse.equinox.app_1.3.100.v20110321 [27]
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.install.area, service.id=18}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
{org.eclipse.osgi.service.datalocation.Location}={type=eclipse.home.location, service.id=19}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.urlconversion.URLConverter}={protocol=[bundleentry,bundleresource], service.id=20}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.signedcontent.SignedContentFactory}={service.id=27}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.internal.provisional.verifier.CertificateVerifierFactory}={service.id=28}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.osgi.service.framework.CompositeBundleFactory}={service.id=29}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.osgi.service.cm.ConfigurationListener}={service.id=30}
  Registered by bundle: org.eclipse.equinox.ds_1.3.0.v20110502 [18]
  No bundles using service.
{org.apache.felix.scr.ScrService}={service.id=32}
  Registered by bundle: org.eclipse.equinox.ds_1.3.0.v20110502 [18]
  No bundles using service.
{org.eclipse.osgi.service.urlconversion.URLConverter}={protocol=platform, service.id=33}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [23]
  No bundles using service.
{org.eclipse.core.runtime.IAdapterManager}={service.id=34}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [23]
  Bundles using service:
    org.eclipse.ecf.provider_4.2.0.v20110829-0349 [11]
    org.eclipse.ecf.sharedobject_2.2.100.v20110829-0349 [13]
{org.osgi.service.url.URLStreamHandlerService}={url.handler.protocol=[platform], service.id=35}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [23]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.core.runtime.IExtensionRegistry}={service.id=36}
  Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20110502 [10]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [3]
    org.eclipse.core.contenttype_3.4.100.v20110423-0524 [1]
    org.eclipse.ecf.identity_3.1.100.v20110531-2218 [8]
    org.eclipse.ecf.sharedobject_2.2.100.v20110829-0349 [13]
    org.eclipse.equinox.app_1.3.100.v20110321 [27]
    org.eclipse.ecf_3.1.300.v20110531-2218 [22]
    org.eclipse.equinox.registry_3.5.100.v20110502 [10]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=37}
  Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20110502 [10]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.core.runtime.preferences.IPreferencesService}={service.id=38}
  Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110502 [3]
  No bundles using service.
{org.osgi.service.prefs.PreferencesService}={service.id=39}
  Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110502 [3]
  No bundles using service.
{org.eclipse.core.runtime.content.IContentTypeManager}={service.id=40}
  Registered by bundle: org.eclipse.core.contenttype_3.4.100.v20110423-0524 [1]
  No bundles using service.
{org.eclipse.core.runtime.jobs.IJobManager}={service.id=41}
  Registered by bundle: org.eclipse.core.jobs_3.5.100.v20110404 [4]
  No bundles using service.
{org.eclipse.equinox.internal.util.threadpool.ThreadPoolManager, org.eclipse.equinox.internal.util.threadpool.ThreadPoolFactory}={service.id=42}
  Registered by bundle: org.eclipse.equinox.util_1.0.300.v20110502 [5]
  Bundles using service:
    org.eclipse.equinox.ds_1.3.0.v20110502 [18]
{org.eclipse.equinox.internal.util.timer.Timer}={service.id=43}
  Registered by bundle: org.eclipse.equinox.util_1.0.300.v20110502 [5]
  No bundles using service.
{org.eclipse.ecf.core.identity.IIDFactory}={service.id=44}
  Registered by bundle: org.eclipse.ecf.identity_3.1.100.v20110531-2218 [8]
  No bundles using service.
{org.eclipse.core.internal.preferences.exchange.IProductPreferencesService}={service.id=45}
  Registered by bundle: org.eclipse.core.runtime_3.7.0.v20110110 [15]
  No bundles using service.
{org.osgi.service.application.ApplicationDescriptor}={eclipse.application.type=any.thread, application.name=, application.visible=true, application.container=org.eclipse.equinox.app, service.pid=it.eng.test.remote.ds.helloconsumer.HelloConsumerTest, application.launchable=true, application.locked=false, application.location=initial@reference:file:../../Documents and Settings/GHIO/eclipse_workspace/STS/rosgi_ds/it.eng.test.remote.ds.helloconsumer/, service.id=46}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [27]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [27]
{org.osgi.service.application.ApplicationDescriptor}={eclipse.application.type=main.thread, application.name=, application.visible=false, application.container=org.eclipse.equinox.app, service.pid=org.eclipse.equinox.app.error, application.launchable=true, application.locked=false, application.location=initial@reference:file:plugins/org.eclipse.equinox.app_1.3.100.v20110321.jar/, service.id=47}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [27]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [27]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=48}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [27]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.remoteserviceadmin.RemoteServiceAdmin}={org.eclipse.ecf.rsa=true, service.id=49}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [19]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [28]
{javax.net.ssl.SSLSocketFactory}={service.id=54}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [22]
  No bundles using service.
{org.eclipse.ecf.core.IContainerFactory}={service.id=55}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [22]
  No bundles using service.
{org.eclipse.ecf.core.IContainerManager}={service.id=56}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [22]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [19]
{org.osgi.service.remoteserviceadmin.EndpointListener}={endpoint.listener.scope=(!(endpoint.framework.uuid=d0877332-1ee8-0010-1884-8d5ba58e77a3)), service.id=57}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [28]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [19]
{org.osgi.framework.hooks.service.EventHook}={service.id=58}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [28]
  No bundles using service.
{org.eclipse.ecf.discovery.IDiscoveryLocator, org.eclipse.ecf.discovery.IDiscoveryAdvertiser}={org.eclipse.ecf.discovery.containerName=ecf.discovery.zoodiscovery, service.id=59}
  Registered by bundle: org.eclipse.ecf.provider.zookeeper_1.0.100.v20110829-0349 [32]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [19]

->>>>>>>>>>
{it.eng.test.remote.ds.hello.IHello}={ecf.service.imported.endpoint.service.id=1, service.imported=org.eclipse.ecf.provider.remoteservice.generic.RemoteServiceImpl@1455cf0, component.name=it.eng.test.remote.ds.helloservice, ecf.service.imported.endpoint.id=ecftcp://localhost:6666/hello, component.id=0, service.imported.configs=[ecf.generic.client], service.id=62}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy_1.0.0.v20110829-0349 [20]
  Bundles using service:
    it.eng.test.remote.ds.helloconsumer_1.0.0.qualifier [16]
->>>>>>>>>>

{org.eclipse.osgi.service.runnable.StartupMonitor}={service.ranking=-2147483648, service.id=1}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.framework.log.FrameworkLog}={service.ranking=-2147483648, performance=true, service.pid=46org.eclipse.core.runtime.internal.adaptor.EclipseLogFactory$1, service.vendor=Eclipse.org - Equinox, service.id=12}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [27]
{org.eclipse.osgi.service.security.TrustEngine}={service.ranking=-2147483648, osgi.signedcontent.trust.engine=org.eclipse.osgi, service.id=26}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IEndpointDescriptionAdvertiser}={service.ranking=-2147483648, service.id=50}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [19]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IServiceInfoFactory}={service.ranking=-2147483648, service.id=51}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [19]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IDiscoveredEndpointDescriptionFactory}={service.ranking=-2147483648, service.id=52}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [19]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [19]
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IEndpointDescriptionReader}={service.ranking=-2147483648, service.id=53}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [19]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IHostContainerSelector}={service.ranking=-2147483648, service.id=60}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [28]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IConsumerContainerSelector}={service.ranking=-2147483648, service.id=61}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [28]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [28]


Now, if I launch them OUTSIDE Eclipse:


Server bundles list:

Framework is launched.

id      State       Bundle
0       ACTIVE      org.eclipse.osgi_3.7.0.v20110613
                    Fragments=3, 29, 32
->1       RESOLVED    it.eng.test.remote.ds.hello_1.0.0.201109261051
->2       ACTIVE      it.eng.test.remote.ds.helloservice_1.0.0.201109261051
3       RESOLVED    javax.transaction_1.1.1.v201105210645
                    Master=0
4       ACTIVE      org.apache.hadoop.zookeeper_3.3.3.v201105210832
5       ACTIVE      org.apache.log4j_1.2.13.v200903072027
6       <<LAZY>>    org.eclipse.core.contenttype_3.4.100.v20110423-0524
7       ACTIVE      org.eclipse.core.jobs_3.5.100.v20110404
8       ACTIVE      org.eclipse.core.runtime_3.7.0.v20110110
9       RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.5.0.v20110
505
                    Master=27
10      ACTIVE      org.eclipse.ecf_3.1.300.v20110531-2218
                    Fragments=21
11      ACTIVE      org.eclipse.ecf.discovery_4.0.0.v20110829-0349
12      ACTIVE      org.eclipse.ecf.identity_3.1.100.v20110531-2218
13      ACTIVE      org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829
-0349
14      ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20
110829-0349
15      ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy_1.0.0
.v20110829-0349
16      ACTIVE      org.eclipse.ecf.provider_4.2.0.v20110829-0349
17      ACTIVE      org.eclipse.ecf.provider.remoteservice_4.0.0.v20110829-0349
18      ACTIVE      org.eclipse.ecf.provider.zookeeper_1.0.100.v20110829-0349
19      ACTIVE      org.eclipse.ecf.remoteservice_6.0.200.v20110829-0349
20      ACTIVE      org.eclipse.ecf.sharedobject_2.2.100.v20110829-0349
21      RESOLVED    org.eclipse.ecf.ssl_1.0.100.v20110531-2218
                    Master=10
22      ACTIVE      org.eclipse.equinox.app_1.3.100.v20110321
23      ACTIVE      org.eclipse.equinox.common_3.6.0.v20110523
24      ACTIVE      org.eclipse.equinox.concurrent_1.0.200.v20110502
25      ACTIVE      org.eclipse.equinox.ds_1.3.0.v20110502
26      ACTIVE      org.eclipse.equinox.preferences_3.4.0.v20110502
27      ACTIVE      org.eclipse.equinox.registry_3.5.100.v20110502
                    Fragments=9
28      ACTIVE      org.eclipse.equinox.util_1.0.300.v20110502
29      RESOLVED    org.eclipse.equinox.weaving.hook_1.0.100.HEAD
                    Master=0
30      ACTIVE      org.eclipse.osgi.services_3.3.0.v20110513
31      ACTIVE      org.eclipse.osgi.services.remoteserviceadmin_1.0.0.v20110828
-1633
32      RESOLVED    org.eclipse.persistence.jpa.equinox.weaving_2.3.0.v20110604-
r9504
                    Master=0


Server services:

osgi> services
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647
, service.id=2}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.packageadmin.PackageAdmin}={service.ranking=2147483647, servic
e.pid=0.org.eclipse.osgi.framework.internal.core.PackageAdminImpl, service.vendo
r=Eclipse.org - Equinox, service.id=4}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [8]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
    org.eclipse.core.jobs_3.5.100.v20110404 [7]
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
    org.eclipse.equinox.registry_3.5.100.v20110502 [27]
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [13]
{org.osgi.service.permissionadmin.PermissionAdmin, org.osgi.service.condpermadmi
n.ConditionalPermissionAdmin}={service.ranking=2147483647, service.pid=0.org.ecl
ipse.osgi.internal.permadmin.SecurityAdmin, service.vendor=Eclipse.org - Equinox
, service.id=5}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.osgi.service.startlevel.StartLevel}={service.ranking=2147483647, service.pi
d=0.org.eclipse.osgi.framework.internal.core.StartLevelManager, service.vendor=E
clipse.org - Equinox, service.id=6}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.debug.DebugOptions}={service.ranking=2147483647, servi
ce.pid=0.org.eclipse.osgi.framework.debug.FrameworkDebugOptions, service.vendor=
Eclipse.org - Equinox, service.id=7}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [8]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
    org.eclipse.core.jobs_3.5.100.v20110404 [7]
    org.eclipse.equinox.registry_3.5.100.v20110502 [27]
    org.eclipse.ecf.identity_3.1.100.v20110531-2218 [12]
{java.lang.ClassLoader}={service.ranking=2147483647, service.pid=0.org.eclipse.c
ore.runtime.internal.adaptor.ContextFinder, service.vendor=Eclipse.org - Equinox
, equinox.classloader.type=contextClassLoader, service.id=8}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.framework.log.FrameworkLog}={service.ranking=2147483647, servi
ce.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseLogFactory, service.ve
ndor=Eclipse.org - Equinox, service.id=11}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.ds_1.3.0.v20110502 [25]
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
{org.eclipse.osgi.service.environment.EnvironmentInfo}={service.ranking=21474836
47, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseEnvironmentIn
fo, service.vendor=Eclipse.org - Equinox, service.id=21}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.core.runtime_3.7.0.v20110110 [8]
{org.eclipse.osgi.service.resolver.PlatformAdmin}={service.ranking=2147483647, s
ervice.pid=0.org.eclipse.osgi.internal.baseadaptor.StateManager, service.vendor=
Eclipse.org - Equinox, service.id=22}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.pluginconversion.PluginConverter}={service.ranking=214
7483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.PluginConverter
Impl, service.vendor=Eclipse.org - Equinox, service.id=23}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647
, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseCommandProvider
, service.vendor=Eclipse.org - Equinox, service.id=24}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.service.localization.BundleLocalization}={service.ranking=2147
483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.BundleLocalizati
onImpl, service.vendor=Eclipse.org - Equinox, service.id=25}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647
, service.id=34}
  Registered by bundle: org.eclipse.equinox.ds_1.3.0.v20110502 [25]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.framework.console.ConsoleSession}={console.systemInOut=true, s
ervice.id=3}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.log.LogReaderService, org.eclipse.equinox.log.ExtendedLogReade
rService}={service.id=9}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [8]
{org.osgi.service.log.LogService, org.eclipse.equinox.log.ExtendedLogService}={s
ervice.id=10}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [8]
    org.eclipse.ecf.provider.zookeeper_1.0.100.v20110829-0349 [18]
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [14]

{javax.xml.parsers.SAXParserFactory}={service.id=13}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.registry_3.5.100.v20110502 [27]
{javax.xml.parsers.DocumentBuilderFactory}={service.id=14}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.user.area, service.i
d=15}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.instance.area, servi
ce.id=16}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.configuration.area,
service.id=17}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
    org.eclipse.equinox.registry_3.5.100.v20110502 [27]
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.install.area, servic
e.id=18}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
{org.eclipse.osgi.service.datalocation.Location}={type=eclipse.home.location, se
rvice.id=19}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.urlconversion.URLConverter}={protocol=[bundleentry,bun
dleresource], service.id=20}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.signedcontent.SignedContentFactory}={service.id=27}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.internal.provisional.verifier.CertificateVerifierFactory}={ser
vice.id=28}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.osgi.service.framework.CompositeBundleFactory}={service.id=29}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.urlconversion.URLConverter}={protocol=platform, servic
e.id=30}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [23]
  No bundles using service.
{org.eclipse.core.runtime.IAdapterManager}={service.id=31}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [23]
  Bundles using service:
    org.eclipse.ecf.provider_4.2.0.v20110829-0349 [16]
    org.eclipse.ecf.sharedobject_2.2.100.v20110829-0349 [20]
{org.osgi.service.url.URLStreamHandlerService}={url.handler.protocol=[platform],
 service.id=32}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [23]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.cm.ConfigurationListener}={service.id=33}
  Registered by bundle: org.eclipse.equinox.ds_1.3.0.v20110502 [25]
  No bundles using service.
{org.apache.felix.scr.ScrService}={service.id=35}
  Registered by bundle: org.eclipse.equinox.ds_1.3.0.v20110502 [25]
  No bundles using service.
{org.eclipse.equinox.internal.util.threadpool.ThreadPoolManager, org.eclipse.equ
inox.internal.util.threadpool.ThreadPoolFactory}={service.id=36}
  Registered by bundle: org.eclipse.equinox.util_1.0.300.v20110502 [28]
  Bundles using service:
    org.eclipse.equinox.ds_1.3.0.v20110502 [25]
{org.eclipse.equinox.internal.util.timer.Timer}={service.id=37}
  Registered by bundle: org.eclipse.equinox.util_1.0.300.v20110502 [28]
  No bundles using service.

->>>>>>>>>>>>>>>>
{it.eng.test.remote.ds.hello.IHello}={ecf.exported.containerfactoryargs=ecftcp:/
/localhost:6666/hello, component.name=it.eng.test.remote.ds.helloservice, compon
ent.id=0, service.exported.configs=ecf.generic.server, service.exported.interfac
es=*, service.id=38}
  Registered by bundle: it.eng.test.remote.ds.helloservice_1.0.0.201109261051 [2
]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [13]
->>>>>>>>>>>>>>>>

{org.eclipse.core.internal.preferences.exchange.IProductPreferencesService}={ser
vice.id=39}
  Registered by bundle: org.eclipse.core.runtime_3.7.0.v20110110 [8]
  No bundles using service.
{org.eclipse.core.runtime.preferences.IPreferencesService}={service.id=40}
  Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
  No bundles using service.
{org.osgi.service.prefs.PreferencesService}={service.id=41}
  Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
  No bundles using service.
{org.eclipse.core.runtime.jobs.IJobManager}={service.id=42}
  Registered by bundle: org.eclipse.core.jobs_3.5.100.v20110404 [7]
  No bundles using service.
{org.eclipse.core.runtime.IExtensionRegistry}={service.id=43}
  Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20110502 [27]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
    org.eclipse.ecf_3.1.300.v20110531-2218 [10]
    org.eclipse.ecf.identity_3.1.100.v20110531-2218 [12]
    org.eclipse.ecf.sharedobject_2.2.100.v20110829-0349 [20]
    org.eclipse.equinox.registry_3.5.100.v20110502 [27]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=44}
  Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20110502 [27]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.application.ApplicationDescriptor}={eclipse.application.type=a
ny.thread, application.name=, application.visible=true, application.container=or
g.eclipse.equinox.app, service.pid=it.eng.test.remote.ds.helloservice.HelloServi
ceTest, application.launchable=true, eclipse.application.default=true, applicati
on.locked=false, application.location=initial@reference:file:plugins/it.eng.test
.remote.ds.helloservice_1.0.0.201109261051.jar/, service.id=45}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [22]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
{org.osgi.service.application.ApplicationDescriptor}={eclipse.application.type=m
ain.thread, application.name=, application.visible=false, application.container=
org.eclipse.equinox.app, service.pid=org.eclipse.equinox.app.error, application.
launchable=false, application.locked=false, application.location=initial@referen
ce:file:plugins/org.eclipse.equinox.app_1.3.100.v20110321.jar/, service.id=46}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [22]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
{org.osgi.service.application.ApplicationHandle, org.eclipse.equinox.app.IApplic
ationContext}={application.state=org.eclipse.equinox.app.starting, eclipse.appli
cation.type=any.thread, application.supports.exitvalue=true, eclipse.application
.default=true, service.pid=it.eng.test.remote.ds.helloservice.HelloServiceTest.0
, application.descriptor=it.eng.test.remote.ds.helloservice.HelloServiceTest, se
rvice.id=47}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [22]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=48}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [22]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.service.runnable.ApplicationLauncher}={service.id=49}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
{javax.net.ssl.SSLSocketFactory}={service.id=50}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [10]
  No bundles using service.
{org.eclipse.ecf.core.IContainerFactory}={service.id=51}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [10]
  No bundles using service.
{org.eclipse.ecf.core.IContainerManager}={service.id=52}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [10]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [14]

{org.eclipse.ecf.core.identity.IIDFactory}={service.id=53}
  Registered by bundle: org.eclipse.ecf.identity_3.1.100.v20110531-2218 [12]
  No bundles using service.
{org.osgi.service.remoteserviceadmin.RemoteServiceAdmin}={org.eclipse.ecf.rsa=tr
ue, service.id=54}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100
.v20110829-0349 [14]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [13]
{org.osgi.service.remoteserviceadmin.EndpointListener}={endpoint.listener.scope=
(!(endpoint.framework.uuid=e00d3e21-1fe8-0010-1b7f-a91cc8cabc61)), service.id=59
}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v2011
0829-0349 [13]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [14]

{org.osgi.framework.hooks.service.EventHook}={service.id=60}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v2011
0829-0349 [13]
  No bundles using service.
{org.eclipse.ecf.discovery.IDiscoveryLocator, org.eclipse.ecf.discovery.IDiscove
ryAdvertiser}={org.eclipse.ecf.discovery.containerName=ecf.discovery.zoodiscover
y, service.id=63}
  Registered by bundle: org.eclipse.ecf.provider.zookeeper_1.0.100.v20110829-034
9 [18]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [14]

{org.eclipse.osgi.service.runnable.StartupMonitor}={service.ranking=-2147483648,
 service.id=1}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.framework.log.FrameworkLog}={service.ranking=-2147483648, perf
ormance=true, service.pid=46org.eclipse.core.runtime.internal.adaptor.EclipseLog
Factory$1, service.vendor=Eclipse.org - Equinox, service.id=12}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
{org.eclipse.osgi.service.security.TrustEngine}={service.ranking=-2147483648, os
gi.signedcontent.trust.engine=org.eclipse.osgi, service.id=26}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IEndpointDescriptionAdvertiser
}={service.ranking=-2147483648, service.id=55}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100
.v20110829-0349 [14]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [13]
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IServiceInfoFactory}={service.
ranking=-2147483648, service.id=56}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100
.v20110829-0349 [14]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [14]

{org.eclipse.ecf.osgi.services.remoteserviceadmin.IDiscoveredEndpointDescription
Factory}={service.ranking=-2147483648, service.id=57}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100
.v20110829-0349 [14]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [14]

{org.eclipse.ecf.osgi.services.remoteserviceadmin.IEndpointDescriptionReader}={s
ervice.ranking=-2147483648, service.id=58}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100
.v20110829-0349 [14]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IHostContainerSelector}={servi
ce.ranking=-2147483648, service.id=61}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v2011
0829-0349 [13]
<>
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829-0349 [13]
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IConsumerContainerSelector}={s
ervice.ranking=-2147483648, service.id=62}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v2011
0829-0349 [13]
  No bundles using service.


Client bundles (1,2):

Framework is launched.

id      State       Bundle
0       ACTIVE      org.eclipse.osgi_3.7.0.v20110613
                    Fragments=3, 29, 32
->1       RESOLVED    it.eng.test.remote.ds.hello_1.0.0.201109261120
->2       ACTIVE      it.eng.test.remote.ds.helloconsumer_1.0.0.201109261120
3       RESOLVED    javax.transaction_1.1.1.v201105210645
                    Master=0
4       ACTIVE      org.apache.hadoop.zookeeper_3.3.3.v201105210832
5       ACTIVE      org.apache.log4j_1.2.13.v200903072027
6       <<LAZY>>    org.eclipse.core.contenttype_3.4.100.v20110423-0524
7       ACTIVE      org.eclipse.core.jobs_3.5.100.v20110404
8       ACTIVE      org.eclipse.core.runtime_3.7.0.v20110110
9       RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.5.0.v20110
505
                    Master=27
10      ACTIVE      org.eclipse.ecf_3.1.300.v20110531-2218
                    Fragments=21
11      ACTIVE      org.eclipse.ecf.discovery_4.0.0.v20110829-0349
12      ACTIVE      org.eclipse.ecf.identity_3.1.100.v20110531-2218
13      ACTIVE      org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110829
-0349
14      ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20
110829-0349
15      ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy_1.0.0
.v20110829-0349
16      ACTIVE      org.eclipse.ecf.provider_4.2.0.v20110829-0349
17      ACTIVE      org.eclipse.ecf.provider.remoteservice_4.0.0.v20110829-0349
18      ACTIVE      org.eclipse.ecf.provider.zookeeper_1.0.100.v20110829-0349
19      ACTIVE      org.eclipse.ecf.remoteservice_6.0.200.v20110829-0349
20      ACTIVE      org.eclipse.ecf.sharedobject_2.2.100.v20110829-0349
21      RESOLVED    org.eclipse.ecf.ssl_1.0.100.v20110531-2218
                    Master=10
22      ACTIVE      org.eclipse.equinox.app_1.3.100.v20110321
23      ACTIVE      org.eclipse.equinox.common_3.6.0.v20110523
24      ACTIVE      org.eclipse.equinox.concurrent_1.0.200.v20110502
25      ACTIVE      org.eclipse.equinox.ds_1.3.0.v20110502
26      ACTIVE      org.eclipse.equinox.preferences_3.4.0.v20110502
27      ACTIVE      org.eclipse.equinox.registry_3.5.100.v20110502
                    Fragments=9
28      ACTIVE      org.eclipse.equinox.util_1.0.300.v20110502
29      RESOLVED    org.eclipse.equinox.weaving.hook_1.0.100.HEAD
                    Master=0
30      ACTIVE      org.eclipse.osgi.services_3.3.0.v20110513
31      ACTIVE      org.eclipse.osgi.services.remoteserviceadmin_1.0.0.v20110828
-1633
32      RESOLVED    org.eclipse.persistence.jpa.equinox.weaving_2.3.0.v20110604-
r9504
                    Master=0


Client services (in the next post):

[Updated on: Mon, 26 September 2011 09:52]

Report message to a moderator

Re: OSGi Remote DS example not working [message #729483 is a reply to message #729479] Mon, 26 September 2011 09:41 Go to previous messageGo to next message
Stefano Ghio is currently offline Stefano GhioFriend
Messages: 12
Registered: September 2011
Junior Member
Client services:

osgi> services
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647
, service.id=2}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.packageadmin.PackageAdmin}={service.ranking=2147483647, servic
e.pid=0.org.eclipse.osgi.framework.internal.core.PackageAdminImpl, service.vendo
r=Eclipse.org - Equinox, service.id=4}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [8]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
    org.eclipse.core.jobs_3.5.100.v20110404 [7]
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
    org.eclipse.equinox.registry_3.5.100.v20110502 [27]
{org.osgi.service.permissionadmin.PermissionAdmin, org.osgi.service.condpermadmi
n.ConditionalPermissionAdmin}={service.ranking=2147483647, service.pid=0.org.ecl
ipse.osgi.internal.permadmin.SecurityAdmin, service.vendor=Eclipse.org - Equinox
, service.id=5}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.osgi.service.startlevel.StartLevel}={service.ranking=2147483647, service.pi
d=0.org.eclipse.osgi.framework.internal.core.StartLevelManager, service.vendor=E
clipse.org - Equinox, service.id=6}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.debug.DebugOptions}={service.ranking=2147483647, servi
ce.pid=0.org.eclipse.osgi.framework.debug.FrameworkDebugOptions, service.vendor=
Eclipse.org - Equinox, service.id=7}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [8]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
    org.eclipse.core.jobs_3.5.100.v20110404 [7]
    org.eclipse.equinox.registry_3.5.100.v20110502 [27]
    org.eclipse.ecf.identity_3.1.100.v20110531-2218 [12]
{java.lang.ClassLoader}={service.ranking=2147483647, service.pid=0.org.eclipse.c
ore.runtime.internal.adaptor.ContextFinder, service.vendor=Eclipse.org - Equinox
, equinox.classloader.type=contextClassLoader, service.id=8}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.framework.log.FrameworkLog}={service.ranking=2147483647, servi
ce.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseLogFactory, service.ve
ndor=Eclipse.org - Equinox, service.id=11}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.ds_1.3.0.v20110502 [25]
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
{org.eclipse.osgi.service.environment.EnvironmentInfo}={service.ranking=21474836
47, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseEnvironmentIn
fo, service.vendor=Eclipse.org - Equinox, service.id=21}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.core.runtime_3.7.0.v20110110 [8]
{org.eclipse.osgi.service.resolver.PlatformAdmin}={service.ranking=2147483647, s
ervice.pid=0.org.eclipse.osgi.internal.baseadaptor.StateManager, service.vendor=
Eclipse.org - Equinox, service.id=22}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.pluginconversion.PluginConverter}={service.ranking=214
7483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.PluginConverter
Impl, service.vendor=Eclipse.org - Equinox, service.id=23}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647
, service.pid=0.org.eclipse.core.runtime.internal.adaptor.EclipseCommandProvider
, service.vendor=Eclipse.org - Equinox, service.id=24}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.service.localization.BundleLocalization}={service.ranking=2147
483647, service.pid=0.org.eclipse.core.runtime.internal.adaptor.BundleLocalizati
onImpl, service.vendor=Eclipse.org - Equinox, service.id=25}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483647
, service.id=34}
  Registered by bundle: org.eclipse.equinox.ds_1.3.0.v20110502 [25]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.framework.console.ConsoleSession}={console.systemInOut=true, s
ervice.id=3}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.log.LogReaderService, org.eclipse.equinox.log.ExtendedLogReade
rService}={service.id=9}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [8]
{org.osgi.service.log.LogService, org.eclipse.equinox.log.ExtendedLogService}={s
ervice.id=10}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
    org.eclipse.core.runtime_3.7.0.v20110110 [8]
    org.eclipse.ecf.provider.zookeeper_1.0.100.v20110829-0349 [18]
{javax.xml.parsers.SAXParserFactory}={service.id=13}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.registry_3.5.100.v20110502 [27]
{javax.xml.parsers.DocumentBuilderFactory}={service.id=14}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.user.area, service.i
d=15}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.instance.area, servi
ce.id=16}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.configuration.area,
service.id=17}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
    org.eclipse.equinox.registry_3.5.100.v20110502 [27]
{org.eclipse.osgi.service.datalocation.Location}={type=osgi.install.area, servic
e.id=18}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.common_3.6.0.v20110523 [23]
{org.eclipse.osgi.service.datalocation.Location}={type=eclipse.home.location, se
rvice.id=19}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.urlconversion.URLConverter}={protocol=[bundleentry,bun
dleresource], service.id=20}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.signedcontent.SignedContentFactory}={service.id=27}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.internal.provisional.verifier.CertificateVerifierFactory}={ser
vice.id=28}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.osgi.service.framework.CompositeBundleFactory}={service.id=29}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.service.urlconversion.URLConverter}={protocol=platform, servic
e.id=30}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [23]
  No bundles using service.
{org.eclipse.core.runtime.IAdapterManager}={service.id=31}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [23]
  No bundles using service.
{org.osgi.service.url.URLStreamHandlerService}={url.handler.protocol=[platform],
 service.id=32}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [23]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.cm.ConfigurationListener}={service.id=33}
  Registered by bundle: org.eclipse.equinox.ds_1.3.0.v20110502 [25]
  No bundles using service.
{org.apache.felix.scr.ScrService}={service.id=35}
  Registered by bundle: org.eclipse.equinox.ds_1.3.0.v20110502 [25]
  No bundles using service.
{org.eclipse.equinox.internal.util.threadpool.ThreadPoolManager, org.eclipse.equ
inox.internal.util.threadpool.ThreadPoolFactory}={service.id=36}
  Registered by bundle: org.eclipse.equinox.util_1.0.300.v20110502 [28]
  Bundles using service:
    org.eclipse.equinox.ds_1.3.0.v20110502 [25]
{org.eclipse.equinox.internal.util.timer.Timer}={service.id=37}
  Registered by bundle: org.eclipse.equinox.util_1.0.300.v20110502 [28]
  No bundles using service.
{org.eclipse.core.internal.preferences.exchange.IProductPreferencesService}={ser
vice.id=38}
  Registered by bundle: org.eclipse.core.runtime_3.7.0.v20110110 [8]
  No bundles using service.
{org.eclipse.core.runtime.preferences.IPreferencesService}={service.id=39}
  Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
  No bundles using service.
{org.osgi.service.prefs.PreferencesService}={service.id=40}
  Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
  No bundles using service.
{org.eclipse.core.runtime.jobs.IJobManager}={service.id=41}
  Registered by bundle: org.eclipse.core.jobs_3.5.100.v20110404 [7]
  No bundles using service.
{org.eclipse.core.runtime.IExtensionRegistry}={service.id=42}
  Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20110502 [27]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [26]
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
    org.eclipse.ecf_3.1.300.v20110531-2218 [10]
    org.eclipse.ecf.identity_3.1.100.v20110531-2218 [12]
    org.eclipse.ecf.sharedobject_2.2.100.v20110829-0349 [20]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=43}
  Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20110502 [27]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.osgi.service.application.ApplicationDescriptor}={eclipse.application.type=a
ny.thread, application.name=, application.visible=true, application.container=or
g.eclipse.equinox.app, service.pid=it.eng.test.remote.ds.helloconsumer.HelloCons
umerTest, application.launchable=true, eclipse.application.default=true, applica
tion.locked=false, application.location=initial@reference:file:plugins/it.eng.te
st.remote.ds.helloconsumer_1.0.0.201109261120.jar/, service.id=44}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [22]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
{org.osgi.service.application.ApplicationDescriptor}={eclipse.application.type=m
ain.thread, application.name=, application.visible=false, application.container=
org.eclipse.equinox.app, service.pid=org.eclipse.equinox.app.error, application.
launchable=false, application.locked=false, application.location=initial@referen
ce:file:plugins/org.eclipse.equinox.app_1.3.100.v20110321.jar/, service.id=45}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [22]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
{org.osgi.service.application.ApplicationHandle, org.eclipse.equinox.app.IApplic
ationContext}={application.state=org.eclipse.equinox.app.starting, eclipse.appli
cation.type=any.thread, application.supports.exitvalue=true, eclipse.application
.default=true, service.pid=it.eng.test.remote.ds.helloconsumer.HelloConsumerTest
.0, application.descriptor=it.eng.test.remote.ds.helloconsumer.HelloConsumerTest
, service.id=46}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [22]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=47}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [22]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.service.runnable.ApplicationLauncher}={service.id=48}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
{javax.net.ssl.SSLSocketFactory}={service.id=49}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [10]
  No bundles using service.
{org.eclipse.ecf.core.IContainerFactory}={service.id=50}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [10]
  No bundles using service.
{org.eclipse.ecf.core.IContainerManager}={service.id=51}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [10]
  No bundles using service.
{org.eclipse.ecf.core.identity.IIDFactory}={service.id=52}
  Registered by bundle: org.eclipse.ecf.identity_3.1.100.v20110531-2218 [12]
  No bundles using service.
{org.osgi.service.remoteserviceadmin.RemoteServiceAdmin}={org.eclipse.ecf.rsa=tr
ue, service.id=53}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100
.v20110829-0349 [14]
  No bundles using service.
{org.osgi.service.remoteserviceadmin.EndpointListener}={endpoint.listener.scope=
(!(endpoint.framework.uuid=c007ede1-20e8-0010-10d5-dd36fd36877a)), service.id=58
}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v2011
0829-0349 [13]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [14]

{org.osgi.framework.hooks.service.EventHook}={service.id=59}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v2011
0829-0349 [13]
  No bundles using service.
{org.eclipse.ecf.discovery.IDiscoveryLocator, org.eclipse.ecf.discovery.IDiscove
ryAdvertiser}={org.eclipse.ecf.discovery.containerName=ecf.discovery.zoodiscover
y, service.id=60}
  Registered by bundle: org.eclipse.ecf.provider.zookeeper_1.0.100.v20110829-034
9 [18]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110829-0349 [14]

{org.eclipse.osgi.service.runnable.StartupMonitor}={service.ranking=-2147483648,
 service.id=1}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.osgi.framework.log.FrameworkLog}={service.ranking=-2147483648, perf
ormance=true, service.pid=46org.eclipse.core.runtime.internal.adaptor.EclipseLog
Factory$1, service.vendor=Eclipse.org - Equinox, service.id=12}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [22]
{org.eclipse.osgi.service.security.TrustEngine}={service.ranking=-2147483648, os
gi.signedcontent.trust.engine=org.eclipse.osgi, service.id=26}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IEndpointDescriptionAdvertiser
}={service.ranking=-2147483648, service.id=54}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100
.v20110829-0349 [14]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IServiceInfoFactory}={service.
ranking=-2147483648, service.id=55}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100
.v20110829-0349 [14]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IDiscoveredEndpointDescription
Factory}={service.ranking=-2147483648, service.id=56}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100
.v20110829-0349 [14]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IEndpointDescriptionReader}={s
ervice.ranking=-2147483648, service.id=57}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100
.v20110829-0349 [14]
  No bundles using service.


As you can see, the difference is that outside Eclipse the service is not discovered, yet it's active and advertised as I get this when I start the server:

osgi> ZooDiscovery> Discovery Service Activated. 26-set-2011 11.28.18.
log4j:WARN No appenders could be found for logger (org.apache.zookeeper.server.Z
ooKeeperServer).
log4j:WARN Please initialize the log4j system properly.
ZooDiscovery> Service Published: 26-set-2011 11.28.19. ServiceInfo[uri=ecf.osgir
svc://localhost:6666/osgirsvc_d4qursM8oeHV4qTY0b7Nq12NseI=;id=ServiceID[type=Ser
viceTypeID[typeName=_ecf.osgirsvc._default.default._iana];location=ecf.osgirsvc:
//localhost:6666/osgirsvc_d4qursM8oeHV4qTY0b7Nq12NseI=;full=_ecf.osgirsvc._defau
lt.default._iana@ecf.osgirsvc://localhost:6666/osgirsvc_d4qursM8oeHV4qTY0b7Nq12N
seI=];priority=0;weight=0;props=ServiceProperties[{endpoint.service.id=1, compon
ent.name=it.eng.test.remote.ds.helloservice, objectClass=it.eng.test.remote.ds.h
ello.IHello, endpoint.framework.uuid=902cf1dd-21e8-0010-1601-c115c69f3014, remot
e.intents.supported=passByValue exactlyOnce ordered, ecf.endpoint.id.ns=org.ecli
pse.ecf.core.identity.StringID, remote.configs.supported=ecf.generic.server, end
point.id=ecftcp://localhost:6666/hello, component.id=0, service.imported.configs
=ecf.generic.server}]]

C:\Documents and Settings\GHIO>netstat -a | grep 6666
  TCP    stefghiow:6666         stefghiow:0            LISTENING


And this when I start the client:

osgi> ZooDiscovery> Discovery Service Activated. 26-set-2011 11.29.41.


I attach the projects:
hello is the interface
helloservice is the server -> configuration: helloservicezookeeper.product
helloconsumer is the client -> configuration: helloconsumerzookeeper.product

Thanks for your help,

cheers

ps: sorry it's a little unreadable but setting bold or changing colour didn't work and I couldn't highlight the relevant parts. I used -> and ->>>>>>>>>>>> to make them pop out

[Updated on: Mon, 26 September 2011 09:54]

Report message to a moderator

Re: OSGi Remote DS example not working [message #729506 is a reply to message #729483] Mon, 26 September 2011 11:11 Go to previous message
Stefano Ghio is currently offline Stefano GhioFriend
Messages: 12
Registered: September 2011
Junior Member
SOLVED!

The exported application had its configuration stored in: ./eclipse.ini and the OSGi framework configuration was in ./configuration/config.ini

eclipse.ini contained the parameters needed by the Java VM for zookepeer to work:
-consoleLog
-console
-clean
-vmargs
-Declipse.ignoreApp=true
-Dosgi.noShutdown=true
-Dzoodiscovery.autoStart=true;
-Dzoodiscovery.flavor=zoodiscovery.flavor.standalone=localhost:3031;clientPort=3030


Launching the application was ok but that file wasn't read.

manually launching the application as:

java -Dzoodiscovery.autoStart=true; -Dzoodiscovery.flavor=zoodiscovery.flavor.standalone=192.168.23.28:3031;clientPort=3030 -jar org.eclipse.osgi_3.7.0.v20110613.jar -console -configuration c:\temp\zooc\configuration\


from within ./plugins where all the jars were worked.

Guess the .exe made automatically by Eclipse wasn't well configured to read its config file.

Anyway, thanks for your help Smile
Previous Topic:Discovery with load balancing - is there such discovery mechanism?
Next Topic:A problem with install ECF 3.5.2
Goto Forum:
  


Current Time: Wed Nov 26 15:34:45 GMT 2014

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

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