Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » Unable to run the Hello example on ecf 3.5(BundleException: Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state)
Unable to run the Hello example on ecf 3.5 [message #662017] Mon, 28 March 2011 22:00 Go to next message
Andrea Mazzario is currently offline Andrea MazzarioFriend
Messages: 10
Registered: July 2009
Junior Member
I am trying to learn how to use RCF and I installed ECF 3.5 in my Helios SP1 environment following the instructions in http://wiki.eclipse.org/EIG:Getting_Started_with_OSGi_Remote _Services.

But I cannot execute the Hello example. I started with the edef discovery mechanism, the host starts fine and displays the expected message
Host: Hello Service Registered
But when I start the consumer I always get the following error messages:

osgi> [log;-1000 2011.03.28 10:27:43:238;WARNING;org.eclipse.ecf.osgi.services.remoteser viceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse .ecf.osgi.services.remoteserviceadmin;code=2;message=org.ecl ipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptio nLocator:queueEndpointDescription:No matching EndpointListeners found for discovered endpointDescription=EndpointDescription[containerID=StringID [ecftcp://localhost:3787/server ],connectTargetID=null,idFilter=null,rsFilter=null,propertie s={ecf.endpoint.id.ns=org.eclipse.ecf.core.identity.StringID , endpoint.framework.uuid=70cd3d4b-4931-0010-1b63-d64101cefd5e , endpoint.id=ecftcp://localhost:3787/server, endpoint.package.version.org.eclipse.ecf.examples.remoteserv ices.hello=3.0.0, endpoint.service.id=0, objectClass=[Ljava.lang.String;@10bbd42, remote.configs.supported=[Ljava.lang.String;@1b6772a, remote.intents.supported=[Ljava.lang.String;@498713, service.id=64, service.imported=true, service.imported.configs=[Ljava.lang.String;@14323d5}];sever ity2;exception=null;children=[]]]
[log;-1000 2011.03.28 10:27:43:426;ERROR;org.eclipse.ecf.osgi.services.remoteservi ceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse.e cf.osgi.services.remoteserviceadmin;code=4;message=org.eclip se.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin:i mportService:selectRemoteServiceReference returned null for rsRefs=[RemoteServiceReferenceImpl[registration=RemoteServic eRegistrationImpl[remoteServiceID=org.eclipse.ecf.remoteserv ice.RemoteServiceID[containerID=StringID[ecftcp://localhost:3787/server ];containerRelativeID=1];rserviceranking=0;classes=[org.ecli pse.ecf.examples.remoteservices.hello.IHello];state=0;proper ties={ecf.rsvc.id=1}]]],targetID=StringID[ecftcp://localhost:3787/server ],idFilter=[Lorg.eclipse.ecf.core.identity.ID;@10dd4c8,inter faces=[org.eclipse.ecf.examples.remoteservices.hello.IHello] ,rsFilter=null,rsContainerID=StringID[umUFmm+w3VqMcM0GK741bx BPaq4=];severity4;exception=org.osgi.framework.BundleExcepti on: Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4) for using BundleContext proxy service factory;children=[]]]
org.osgi.framework.BundleException: Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4) for using BundleContext proxy service factory
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.getProxyServiceFactoryContext(RemoteServiceAdmin.jav a:1476)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.createAndRegisterProxy(RemoteServiceAdmin.java:1407)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.importService(RemoteServiceAdmin.java:1923)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.importService(RemoteServiceAdmin.java:302)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTop ologyManager.handleEndpointAdded(AbstractTopologyManager.jav a:225)
at org.eclipse.ecf.internal.osgi.services.distribution.BasicTop ologyManager.endpointAdded(BasicTopologyManager.java:77)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDes criptionLocator$1.dispatchEvent(EndpointDescriptionLocator.j ava:154)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:337)
[log;-1000 2011.03.28 10:27:43:429;WARNING;org.eclipse.ecf.osgi.services.remoteser viceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse .ecf.osgi.services.remoteserviceadmin;code=2;message=org.ecl ipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin :postEvent:No event admin available to post event=RemoteServiceAdminEvent[containerID=null, getType()=5, getSource()=org.eclipse.ecf.osgi.services.distribution_2.0.0 .v20110313-1843 [19], getException()=org.osgi.framework.BundleException: Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4) for using BundleContext proxy service factory, getImportReference()=null, getExportReference()=null];severity2;exception=null;children =[]]]
[log;-1000 2011.03.28 10:27:43:429;ERROR;org.eclipse.ecf.osgi.services.remoteservi ceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse.e cf.osgi.services.remoteserviceadmin;code=4;message=org.eclip se.ecf.internal.osgi.services.distribution.BasicTopologyMana ger:handleInvalidImportRegistration:importRegistration=Impor tRegistration[importEndpoint=ImportEndpoint[rsReference=null , proxyRegistration=null, importReference=null]];severity4;exception=org.osgi.framewor k.BundleException: Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4) for using BundleContext proxy service factory;children=[]]]
org.osgi.framework.BundleException: Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4) for using BundleContext proxy service factory
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.getProxyServiceFactoryContext(RemoteServiceAdmin.jav a:1476)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.createAndRegisterProxy(RemoteServiceAdmin.java:1407)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.importService(RemoteServiceAdmin.java:1923)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.importService(RemoteServiceAdmin.java:302)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTop ologyManager.handleEndpointAdded(AbstractTopologyManager.jav a:225)
at org.eclipse.ecf.internal.osgi.services.distribution.BasicTop ologyManager.endpointAdded(BasicTopologyManager.java:77)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDes criptionLocator$1.dispatchEvent(EndpointDescriptionLocator.j ava:154)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:337)

checking the status of the Hello bundle delivers the following:

osgi> bundle org.eclipse.ecf.examples.remoteservices.hello
org.eclipse.ecf.examples.remoteservices.hello_3.0.0.qualifie r [5]
Id=5, Status=RESOLVED Data Root=C:\ECF_Example_H32\.metadata\.plugins\org.eclipse.pde.c ore\Hello Service Host (edef,generic).product\org.eclipse.osgi\bundles\5\data
No registered services.
No services in use.
Exported packages
org.eclipse.ecf.examples.remoteservices.hello; version="3.0.0"[exported]
org.eclipse.ecf.examples.remoteservices.hello.impl; version="3.0.0"[exported]
Imported packages
org.eclipse.ecf.remoteservice; version="6.0.0"<org.eclipse.ecf.remoteservice_6.0.0.v20110313-1843 [17]>
org.eclipse.equinox.concurrent.future; version="1.0.0"<org.eclipse.equinox.concurrent_1.0.100.v20100503 [9]>
No fragment bundles
Named class space
org.eclipse.ecf.examples.remoteservices.hello; bundle-version="3.0.0.qualifier"[provided]
No required bundles

Is it normal that the status for the bundle states "No registered services", even though the host reported "Host: Hello Service Registered" ???

Any help in getting the example to work will be greatly appreciated.
Re: Unable to run the Hello example on ecf 3.5 [message #663079 is a reply to message #662017] Sun, 03 April 2011 10:11 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus KuppeFriend
Messages: 177
Registered: July 2009
Senior Member
On 03/29/2011 12:00 AM, Andrea Mazzario wrote:
> I am trying to learn how to use RCF and I installed ECF 3.5 in my Helios
> SP1 environment following the instructions in
> http://wiki.eclipse.org/EIG:Getting_Started_with_OSGi_Remote _Services
>
> But I cannot execute the Hello example. I started with the edef
> discovery mechanism, the host starts fine and displays the expected
> message Host: Hello Service Registered
> But when I start the consumer I always get the following error messages:
>
> osgi> [log;-1000 2011.03.28
> 10:27:43:238;WARNING;org.eclipse.ecf.osgi.services.remoteser
> viceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse
> .ecf.osgi.services.remoteserviceadmin;code=2;message=org.ecl
> ipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptio
> nLocator:queueEndpointDescription:No matching EndpointListeners found
> for discovered
> endpointDescription=EndpointDescription[containerID=StringID
> [ecftcp://localhost:3787/server
> ],connectTargetID=null,idFilter=null,rsFilter=null,propertie
> s={ecf.endpoint.id.ns=org.eclipse.ecf.core.identity.StringID ,
> endpoint.framework.uuid=70cd3d4b-4931-0010-1b63-d64101cefd5e ,
> endpoint.id=ecftcp://localhost:3787/server,
> endpoint.package.version.org.eclipse.ecf.examples.remoteserv
> ices.hello=3.0.0, endpoint.service.id=0,
> objectClass=[Ljava.lang.String;@10bbd42,
> remote.configs.supported=[Ljava.lang.String;@1b6772a,
> remote.intents.supported=[Ljava.lang.String;@498713, service.id=64,
> service.imported=true,
> service.imported.configs=[Ljava.lang.String;@14323d5}];sever
> ity2;exception=null;children=[]]]
> [log;-1000 2011.03.28
> 10:27:43:426;ERROR;org.eclipse.ecf.osgi.services.remoteservi
> ceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse.e
> cf.osgi.services.remoteserviceadmin;code=4;message=org.eclip
> se.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin:i
> mportService:selectRemoteServiceReference returned null for
> rsRefs=[RemoteServiceReferenceImpl[registration=RemoteServic
> eRegistrationImpl[remoteServiceID=org.eclipse.ecf.remoteserv
> ice.RemoteServiceID[containerID=StringID[ecftcp://localhost:3787/server
> ];containerRelativeID=1];rserviceranking=0;classes=[org.ecli
> pse.ecf.examples.remoteservices.hello.IHello];state=0;proper
> ties={ecf.rsvc.id=1}]]],targetID=StringID[ecftcp://localhost:3787/server
> ],idFilter=[Lorg.eclipse.ecf.core.identity.ID;@10dd4c8,inter
> faces=[org.eclipse.ecf.examples.remoteservices.hello.IHello]
> ,rsFilter=null,rsContainerID=StringID[umUFmm+w3VqMcM0GK741bx
> BPaq4=];severity4;exception=org.osgi.framework.BundleExcepti on:
> Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4)
> for using BundleContext proxy service factory;children=[]]]
> org.osgi.framework.BundleException:
> Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4)
> for using BundleContext proxy service factory
> at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi
> ceAdmin.getProxyServiceFactoryContext(RemoteServiceAdmin.jav a:1476)
> at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi
> ceAdmin.createAndRegisterProxy(RemoteServiceAdmin.java:1407)
> at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi
> ceAdmin.importService(RemoteServiceAdmin.java:1923)
> at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi
> ceAdmin.importService(RemoteServiceAdmin.java:302)
> at org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTop
> ologyManager.handleEndpointAdded(AbstractTopologyManager.jav a:225)
> at org.eclipse.ecf.internal.osgi.services.distribution.BasicTop
> ologyManager.endpointAdded(BasicTopologyManager.java:77)
> at org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDes
> criptionLocator$1.dispatchEvent(EndpointDescriptionLocator.j ava:154)
> at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve
> nt(EventManager.java:227)
> at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread
> .run(EventManager.java:337)
> [log;-1000 2011.03.28
> 10:27:43:429;WARNING;org.eclipse.ecf.osgi.services.remoteser
> viceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse
> .ecf.osgi.services.remoteserviceadmin;code=2;message=org.ecl
> ipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin
> :postEvent:No event admin available to post
> event=RemoteServiceAdminEvent[containerID=null, getType()=5,
> getSource()=org.eclipse.ecf.osgi.services.distribution_2.0.0
> .v20110313-1843 [19], getException()=org.osgi.framework.BundleException:
> Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4)
> for using BundleContext proxy service factory,
> getImportReference()=null,
> getExportReference()=null];severity2;exception=null;children =[]]]
> [log;-1000 2011.03.28
> 10:27:43:429;ERROR;org.eclipse.ecf.osgi.services.remoteservi
> ceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse.e
> cf.osgi.services.remoteserviceadmin;code=4;message=org.eclip
> se.ecf.internal.osgi.services.distribution.BasicTopologyMana
> ger:handleInvalidImportRegistration:importRegistration=Impor
> tRegistration[importEndpoint=ImportEndpoint[rsReference=null ,
> proxyRegistration=null,
> importReference=null]];severity4;exception=org.osgi.framewor
> k.BundleException: Bundle=org.eclipse.ecf.examples.remoteservices.hello
> in wrong state (4) for using BundleContext proxy service
> factory;children=[]]]
> org.osgi.framework.BundleException:
> Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4)
> for using BundleContext proxy service factory
> at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi
> ceAdmin.getProxyServiceFactoryContext(RemoteServiceAdmin.jav a:1476)
> at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi
> ceAdmin.createAndRegisterProxy(RemoteServiceAdmin.java:1407)
> at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi
> ceAdmin.importService(RemoteServiceAdmin.java:1923)
> at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi
> ceAdmin.importService(RemoteServiceAdmin.java:302)
> at org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTop
> ologyManager.handleEndpointAdded(AbstractTopologyManager.jav a:225)
> at org.eclipse.ecf.internal.osgi.services.distribution.BasicTop
> ologyManager.endpointAdded(BasicTopologyManager.java:77)
> at org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDes
> criptionLocator$1.dispatchEvent(EndpointDescriptionLocator.j ava:154)
> at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve
> nt(EventManager.java:227)
> at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread
> .run(EventManager.java:337)
>
> checking the status of the Hello bundle delivers the following:
>
> osgi> bundle org.eclipse.ecf.examples.remoteservices.hello
> org.eclipse.ecf.examples.remoteservices.hello_3.0.0.qualifie r [5]
> Id=5, Status=RESOLVED Data
> Root=C:\ECF_Example_H32\.metadata\.plugins\org.eclipse.pde.c ore\Hello
> Service Host (edef,generic).product\org.eclipse.osgi\bundles\5\data
> No registered services.
> No services in use.
> Exported packages
> org.eclipse.ecf.examples.remoteservices.hello; version="3.0.0"[exported]
> org.eclipse.ecf.examples.remoteservices.hello.impl;
> version="3.0.0"[exported]
> Imported packages
> org.eclipse.ecf.remoteservice;
> version="6.0.0"<org.eclipse.ecf.remoteservice_6.0.0.v20110313-1843 [17]>
> org.eclipse.equinox.concurrent.future;
> version="1.0.0"<org.eclipse.equinox.concurrent_1.0.100.v20100503 [9]>
> No fragment bundles
> Named class space
> org.eclipse.ecf.examples.remoteservices.hello;
> bundle-version="3.0.0.qualifier"[provided]
> No required bundles
>
> Is it normal that the status for the bundle states "No registered
> services", even though the host reported "Host: Hello Service
> Registered" ???
>
> Any help in getting the example to work will be greatly appreciated.

Try forcefully starting the
org.eclipse.ecf.examples.remoteservices.hello bundle prior to activating
edef discovery.

Markus
Re: Unable to run the Hello example on ecf 3.5 [message #663973 is a reply to message #663079] Thu, 07 April 2011 01:57 Go to previous messageGo to next message
Andrea Mazzario is currently offline Andrea MazzarioFriend
Messages: 10
Registered: July 2009
Junior Member
Markus,
sorry, but what do you mean by "forcefully starting the bundle"?
I tried to reinstall everything: Java (1.6_24), eclipse (Helios SP2), the ECF SDK and the examples into a clean virtual machine and now the (edef, generic) consumer does not display any error in the console, but does not display anything else than the osgi> prompt, and the Host console does not indicate it received any request.
It may be interesting to notice that the command
bundle org.eclipse.ecf.examples.remoteservices.hello
in the Host console gives a status of RESOLVED for the bundle, while in the Consumer console gives a status of ACTIVE for the bundle.
Any suggestion on what I can try?
Thanks
Re: Unable to run the Hello example on ecf 3.5 [message #664000 is a reply to message #663973] Thu, 07 April 2011 06:36 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus KuppeFriend
Messages: 177
Registered: July 2009
Senior Member
On 04/07/2011 03:57 AM, Andrea Mazzario wrote:
> Markus,
> sorry, but what do you mean by "forcefully starting the bundle"?
> I tried to reinstall everything: Java (1.6_24), eclipse (Helios SP2),
> the ECF SDK and the examples into a clean virtual machine and now the
> (edef, generic) consumer does not display any error in the console, but
> does not display anything else than the osgi> prompt, and the Host
> console does not indicate it received any request.
> It may be interesting to notice that the command
> bundle org.eclipse.ecf.examples.remoteservices.hello
> in the Host console gives a status of RESOLVED for the bundle, while in
> the Consumer console gives a status of ACTIVE for the bundle.
> Any suggestion on what I can try?

What I mean is that you should try to start the .hello bundle in both
OSGi consoles with "start <bundle id>" prior to activating
edef discovery.

Markus
Re: Unable to run the Hello example on ecf 3.5 [message #664777 is a reply to message #664000] Mon, 11 April 2011 22:57 Go to previous messageGo to next message
Philip Borlin is currently offline Philip BorlinFriend
Messages: 30
Registered: July 2009
Member
I went into my Run Configurations (for both the consumer and the host) and went to the plugins tab. In there I changed the start level for org.eclipse.ecf.examples.remoteservices.hello to 3 and turned on Auto-Start for that same bundle. This solved the problem for me.
Re: Unable to run the Hello example on ecf 3.5 [message #671703 is a reply to message #663973] Wed, 18 May 2011 18:06 Go to previous messageGo to next message
Scott Lewis is currently offline Scott LewisFriend
Messages: 974
Registered: July 2009
Senior Member
Quote:
I am trying to learn how to use RCF and I installed ECF 3.5 in my Helios SP1 environment following the instructions in http://wiki.eclipse.org/EIG:Getting_Started_with_OSGi_Remote _Services.

But I cannot execute the Hello example. I started with the edef discovery mechanism, the host starts fine and displays the expected message
Host: Hello Service Registered
But when I start the consumer I always get the following error messages:

osgi> [log;-1000 2011.03.28 10:27:43:238;WARNING;org.eclipse.ecf.osgi.services.remoteser viceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse .ecf.osgi.services.remoteserviceadmin;code=2;message=org.ecl ipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptio nLocator:queueEndpointDescription:No matching EndpointListeners found for discovered endpointDescription=EndpointDescription[containerID=StringID [ecftcp://localhost:3787/server ],connectTargetID=null,idFilter=null,rsFilter=null,propertie s={ecf.endpoint.id.ns=org.eclipse.ecf.core.identity.StringID , endpoint.framework.uuid=70cd3d4b-4931-0010-1b63-d64101cefd5e , endpoint.id=ecftcp://localhost:3787/server, endpoint.package.version.org.eclipse.ecf.examples.remoteserv ices.hello=3.0.0, endpoint.service.id=0, objectClass=[Ljava.lang.String;@10bbd42, remote.configs.supported=[Ljava.lang.String;@1b6772a, remote.intents.supported=[Ljava.lang.String;@498713, service.id=64, service.imported=true, service.imported.configs=[Ljava.lang.String;@14323d5}];sever ity2;exception=null;children=[]]]
[log;-1000 2011.03.28 10:27:43:426;ERROR;org.eclipse.ecf.osgi.services.remoteservi ceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse.e cf.osgi.services.remoteserviceadmin;code=4;message=org.eclip se.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin:i mportService:selectRemoteServiceReference returned null for rsRefs=[RemoteServiceReferenceImpl[registration=RemoteServic eRegistrationImpl[remoteServiceID=org.eclipse.ecf.remoteserv ice.RemoteServiceID[containerID=StringID[ecftcp://localhost:3787/server ];containerRelativeID=1];rserviceranking=0;classes=[org.ecli pse.ecf.examples.remoteservices.hello.IHello];state=0;proper ties={ecf.rsvc.id=1}]]],targetID=StringID[ecftcp://localhost:3787/server ],idFilter=[Lorg.eclipse.ecf.core.identity.ID;@10dd4c8,inter faces=[org.eclipse.ecf.examples.remoteservices.hello.IHello] ,rsFilter=null,rsContainerID=StringID[umUFmm+w3VqMcM0GK741bx BPaq4=];severity4;exception=org.osgi.framework.BundleExcepti on: Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4) for using BundleContext proxy service factory;children=[]]]
org.osgi.framework.BundleException: Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4) for using BundleContext proxy service factory
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.getProxyServiceFactoryContext(RemoteServiceAdmin.jav a:1476)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.createAndRegisterProxy(RemoteServiceAdmin.java:1407)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.importService(RemoteServiceAdmin.java:1923)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.importService(RemoteServiceAdmin.java:302)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTop ologyManager.handleEndpointAdded(AbstractTopologyManager.jav a:225)
at org.eclipse.ecf.internal.osgi.services.distribution.BasicTop ologyManager.endpointAdded(BasicTopologyManager.java:77)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDes criptionLocator$1.dispatchEvent(EndpointDescriptionLocator.j ava:154)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:337)
[log;-1000 2011.03.28 10:27:43:429;WARNING;org.eclipse.ecf.osgi.services.remoteser viceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse .ecf.osgi.services.remoteserviceadmin;code=2;message=org.ecl ipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin :postEvent:No event admin available to post event=RemoteServiceAdminEvent[containerID=null, getType()=5, getSource()=org.eclipse.ecf.osgi.services.distribution_2.0.0 .v20110313-1843 [19], getException()=org.osgi.framework.BundleException: Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4) for using BundleContext proxy service factory, getImportReference()=null, getExportReference()=null];severity2;exception=null;children =[]]]
[log;-1000 2011.03.28 10:27:43:429;ERROR;org.eclipse.ecf.osgi.services.remoteservi ceadmin;org.eclipse.core.runtime.Status[plugin=org.eclipse.e cf.osgi.services.remoteserviceadmin;code=4;message=org.eclip se.ecf.internal.osgi.services.distribution.BasicTopologyMana ger:handleInvalidImportRegistration:importRegistration=Impor tRegistration[importEndpoint=ImportEndpoint[rsReference=null , proxyRegistration=null, importReference=null]];severity4;exception=org.osgi.framewor k.BundleException: Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4) for using BundleContext proxy service factory;children=[]]]
org.osgi.framework.BundleException: Bundle=org.eclipse.ecf.examples.remoteservices.hello in wrong state (4) for using BundleContext proxy service factory
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.getProxyServiceFactoryContext(RemoteServiceAdmin.jav a:1476)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.createAndRegisterProxy(RemoteServiceAdmin.java:1407)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.importService(RemoteServiceAdmin.java:1923)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServi ceAdmin.importService(RemoteServiceAdmin.java:302)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTop ologyManager.handleEndpointAdded(AbstractTopologyManager.jav a:225)
at org.eclipse.ecf.internal.osgi.services.distribution.BasicTop ologyManager.endpointAdded(BasicTopologyManager.java:77)
at org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDes criptionLocator$1.dispatchEvent(EndpointDescriptionLocator.j ava:154)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:337)


This seems to me likely that you are not starting the org.eclipse.ecf.osgi.services.distribution bundle prior to the edef discovery. The reason I think this is that the ECF 'BasicTopologyManager' is in the o.e.e.osgi.services.distribution bundle, and on the client/consumer it's responsible for registering endpoint listeners...so that when an endpoint is discovered there is a topology manager to respond to the discovered endpoint description. The warning you pasted above indicates that the endpoint description discovery actually occurs...but there is no topology manager (or any endpoint listener) registered to respond to it. The ECF BasicTopologyManager does register itself as an endpoint listener (as per the RSA spec), but the bundle that contains it (i.e. o.e.e.osgi.services.distribution) has to be started prior to the endpoint listener discovery (which in your case is done via starting the edef example).

Quote:

checking the status of the Hello bundle delivers the following:

osgi> bundle org.eclipse.ecf.examples.remoteservices.hello
org.eclipse.ecf.examples.remoteservices.hello_3.0.0.qualifie r [5]
Id=5, Status=RESOLVED Data Root=C:\ECF_Example_H32\.metadata\.plugins\org.eclipse.pde.c ore\Hello Service Host (edef,generic).product\org.eclipse.osgi\bundles\5\data
No registered services.
No services in use.
Exported packages
org.eclipse.ecf.examples.remoteservices.hello; version="3.0.0"[exported]
org.eclipse.ecf.examples.remoteservices.hello.impl; version="3.0.0"[exported]
Imported packages
org.eclipse.ecf.remoteservice; version="6.0.0"<org.eclipse.ecf.remoteservice_6.0.0.v20110313-1843 [17]>
org.eclipse.equinox.concurrent.future; version="1.0.0"<org.eclipse.equinox.concurrent_1.0.100.v20100503 [9]>
No fragment bundles
Named class space
org.eclipse.ecf.examples.remoteservices.hello; bundle-version="3.0.0.qualifier"[provided]
No required bundles

Is it normal that the status for the bundle states "No registered services", even though the host reported "Host: Hello Service Registered" ???



Yes, it is likely normal. This is presumably on the consumer/client process, and if the EndpointDescription discovery fails (as per the discussion above), there is no proxy creation/registration. But even if there was proxy creation/registration, the ECF impl registers proxies via the org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy bundle...and not the bundle that exposes the hello service interface (this is done for a rather involved technical reason...which I will explain if you like...but isn't particularly germane to this issue).

Quote:


Any help in getting the example to work will be greatly appreciated.


I am able to run the hello examples just fine on ECF 3.5.1 (coming out soon), using the product configs and launching within Eclipse. There is an issue with the zookeeper provider...that I think was responsible for your original BundleStateException...i.e. see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=345678

But for me, even when this BundleStateException issue occurs, the example actually works anyway.
Re: Unable to run the Hello example on ecf 3.5 [message #671740 is a reply to message #671703] Wed, 18 May 2011 20:50 Go to previous messageGo to next message
Scott Lewis is currently offline Scott LewisFriend
Messages: 974
Registered: July 2009
Senior Member
After another examination of the original bug report, I believe the fix for this bug has resolved the original issue:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=343992

This fix is in 3.5.1...to be released as soon as possible for Indigo.
Re: Unable to run the Hello example on ecf 3.5 [message #699646 is a reply to message #671740] Fri, 22 July 2011 02:03 Go to previous messageGo to next message
Cristiano Gaviao is currently offline Cristiano GaviaoFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Scott,

I've started with ECF today and I'm experiment this same problem using ECF 3.5.1 on Indigo 3.7.
I've just follow this instructions: http://wiki.eclipse.org/EIG:Getting_Started_with_OSGi_Remote_Services
I've tried with all Hello Service products launch and the result is the same.
This is the console for the server:
osgi> !SESSION 2011-07-21 22:55:34.520 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -application org.eclipse.ecf.examples.remoteservices.hello.host.HelloHost -containerType ecf.generic.server -containerId ecftcp://localhost:3787/server
Command-line arguments:  -application org.eclipse.ecf.examples.remoteservices.hello.host.HelloHost -data /Users/cvgaviao/Workspaces/jbpm5/../runtime-HelloServiceHost(zeroconf,generic).product -dev file:/Users/cvgaviao/Workspaces/jbpm5/.metadata/.plugins/org.eclipse.pde.core/Hello Service Host (zeroconf,generic).product/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog -containerType ecf.generic.server -containerId ecftcp://localhost:3787/server -console

!ENTRY org.eclipse.ecf.osgi.services.remoteserviceadmin 4 0 2011-07-21 22:55:36.147
!MESSAGE org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.remoteserviceadmin;code=4;message=org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin:RemoteServiceAdmin.postEvent:No event admin service available to post event=RemoteServiceAdminEvent[containerID=StringID[ecftcp://localhost:3787/server], getType()=2, getSource()=org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110531-2218 [19], getException()=null, getImportReference()=null, getExportReference()=org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin$ExportReference@3a4c5b4];severity4;exception=null;children=[]]
Host: Hello Service Registered

osgi> ss
Framework is launched.

id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.7.0.v20110613
1	ACTIVE      org.eclipse.equinox.common_3.6.0.v20110523
2	ACTIVE      org.eclipse.core.runtime_3.7.0.v20110110
3	ACTIVE      org.eclipse.ecf.sharedobject_2.2.100.v20110531-2218
4	ACTIVE      org.eclipse.ecf.identity_3.1.100.v20110531-2218
5	RESOLVED    org.eclipse.osgi.services_3.3.0.v20110513
6	RESOLVED    org.eclipse.osgi.services.remoteserviceadmin_1.0.0.v20110518-0228
7	ACTIVE      org.eclipse.equinox.app_1.3.100.v20110321
8	ACTIVE      org.eclipse.ecf.remoteservice_6.0.0.v20110531-2218
9	ACTIVE      org.eclipse.equinox.preferences_3.4.0.v20110502
10	ACTIVE      org.eclipse.core.jobs_3.5.100.v20110404
11	ACTIVE      org.eclipse.ecf_3.1.300.v20110531-2218
12	ACTIVE      org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110531-2218
13	<<LAZY>>    org.eclipse.core.contenttype_3.4.100.v20110423-0524
14	ACTIVE      org.eclipse.ecf.examples.remoteservices.hello_3.0.100.qualifier
15	ACTIVE      org.eclipse.equinox.registry_3.5.100.v20110502
	            Fragments=22
16	ACTIVE      org.eclipse.ecf.discovery_4.0.0.v20110531-2218
17	ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy_1.0.0.v20110531-2218
18	ACTIVE      org.eclipse.ecf.provider.jmdns_4.1.0.v20110531-2218
19	ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110531-2218
20	ACTIVE      org.eclipse.equinox.concurrent_1.0.200.v20110502
21	ACTIVE      org.eclipse.ecf.examples.remoteservices.hello.host_3.0.0.qualifier
22	RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.5.0.v20110505
	            Master=15
23	ACTIVE      org.eclipse.ecf.provider.remoteservice_4.0.0.v20110531-2218
24	ACTIVE      org.eclipse.ecf.provider_4.2.0.v20110531-2218


and here is the consumer:
osgi> 

osgi> ss
Framework is launched.

id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.7.0.v20110613
1	ACTIVE      org.eclipse.equinox.common_3.6.0.v20110523
2	ACTIVE      org.eclipse.core.runtime_3.7.0.v20110110
3	ACTIVE      org.eclipse.ecf.sharedobject_2.2.100.v20110531-2218
4	ACTIVE      org.eclipse.ecf.identity_3.1.100.v20110531-2218
5	RESOLVED    org.eclipse.osgi.services_3.3.0.v20110513
6	RESOLVED    org.eclipse.osgi.services.remoteserviceadmin_1.0.0.v20110518-0228
7	ACTIVE      org.eclipse.equinox.app_1.3.100.v20110321
8	ACTIVE      org.eclipse.ecf.remoteservice_6.0.0.v20110531-2218
9	ACTIVE      org.eclipse.equinox.preferences_3.4.0.v20110502
10	ACTIVE      org.eclipse.core.jobs_3.5.100.v20110404
11	ACTIVE      org.eclipse.ecf_3.1.300.v20110531-2218
12	ACTIVE      org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110531-2218
13	<<LAZY>>    org.eclipse.core.contenttype_3.4.100.v20110423-0524
14	ACTIVE      org.eclipse.ecf.examples.remoteservices.hello_3.0.100.qualifier
15	ACTIVE      org.eclipse.equinox.registry_3.5.100.v20110502
	            Fragments=21
16	ACTIVE      org.eclipse.ecf.discovery_4.0.0.v20110531-2218
17	ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy_1.0.0.v20110531-2218
18	ACTIVE      org.eclipse.ecf.provider.jmdns_4.1.0.v20110531-2218
19	ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110531-2218
20	ACTIVE      org.eclipse.equinox.concurrent_1.0.200.v20110502
21	RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.5.0.v20110505
	            Master=15
22	ACTIVE      org.eclipse.ecf.provider.remoteservice_4.0.0.v20110531-2218
23	ACTIVE      org.eclipse.ecf.provider_4.2.0.v20110531-2218
24	ACTIVE      org.eclipse.ecf.examples.remoteservices.hello.consumer_3.0.0.qualifier

[Updated on: Fri, 22 July 2011 02:04]

Report message to a moderator

Re: Unable to run the Hello example on ecf 3.5 [message #699660 is a reply to message #699646] Fri, 22 July 2011 03:12 Go to previous messageGo to next message
Cristiano Gaviao is currently offline Cristiano GaviaoFriend
Messages: 253
Registered: July 2009
Senior Member
Hi again... just to be more precise, I've followed the instructions to change the plugin priorities on both server and consumer launchers.

After the change the Hello Service Consumer (edef,generic).product + Hello Service Host (edef,generic).product start to work. nice...

The products Hello Service Host (zookeeper,generic).product, Hello Service Host (zookeeper,rosgi).product and Hello Service Host (zookeeper,generic).product, Hello Service Consumer (zookeeper,generic).product are working without any change, actually. good too..

But Hello Service Consumer (zeroconf,generic).product + Hello Service Host (zeroconf,generic).product is not working even after changing the starting priority.

The Hello Service Host (zeroconf,rosgi).product is running but Hello Service Consumer (zeroconf,r-osgi).product is throwing an exception (just to certify I've restart eclipse and tried again because the port problem, but didn't change anything):
osgi> WARNING: Port 9278 already in use. This instance of R-OSGi is running on port 9279
!SESSION 2011-07-21 23:53:41.400 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_24
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -application org.eclipse.ecf.examples.remoteservices.hello.consumer.HelloConsumer
Command-line arguments:  -application org.eclipse.ecf.examples.remoteservices.hello.consumer.HelloConsumer -data /Users/cvgaviao/Workspaces/jbpm5/../runtime-HelloServiceConsumer(zeroconf,r-osgi).product -dev file:/Users/cvgaviao/Workspaces/jbpm5/.metadata/.plugins/org.eclipse.pde.core/Hello Service Consumer (zeroconf,r-osgi).product/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog -console

!ENTRY ch.ethz.iks.slp 4 0 2011-07-21 23:53:42.723
!MESSAGE Exception in initial DA lookup
!STACK 0
ch.ethz.iks.slp.ServiceLocationException: No route to host
	at ch.ethz.iks.slp.impl.SLPCore.daLookup(SLPCore.java:645)
	at ch.ethz.iks.slp.impl.SLPCore.init(SLPCore.java:321)
	at ch.ethz.iks.slp.impl.Activator$2.getService(Activator.java:51)
	at org.eclipse.osgi.internal.serviceregistry.ServiceUse$1.run(ServiceUse.java:138)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.internal.serviceregistry.ServiceUse.getService(ServiceUse.java:136)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:468)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:467)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(BundleContextImpl.java:594)
	at org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:450)
	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:980)
	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:262)
	at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:185)
	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:348)
	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:283)
	at org.eclipse.ecf.internal.provider.jslp.Activator.getLocator(Activator.java:60)
	at org.eclipse.ecf.internal.provider.jslp.JSLPDiscoveryJob.run(JSLPDiscoveryJob.java:43)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


The Hello Service DS Host (zeroconf,generic).product isn't working, even changing the priority. It seems that HelloComponent is not being called by DS...
Framework is launched.

id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.7.0.v20110613
1	ACTIVE      org.eclipse.equinox.common_3.6.0.v20110523
2	ACTIVE      org.eclipse.core.runtime_3.7.0.v20110110
3	ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110531-2218
4	RESOLVED    org.eclipse.osgi.services_3.3.0.v20110513
5	RESOLVED    org.eclipse.osgi.services.remoteserviceadmin_1.0.0.v20110518-0228
6	<<LAZY>>    org.eclipse.core.contenttype_3.4.100.v20110423-0524
7	ACTIVE      org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy_1.0.0.v20110531-2218
8	ACTIVE      org.eclipse.ecf.remoteservice_6.0.0.v20110531-2218
9	<<LAZY>>    org.eclipse.ecf.provider.jmdns_4.1.0.v20110531-2218
10	ACTIVE      org.eclipse.equinox.util_1.0.300.v20110502
11	ACTIVE      org.eclipse.equinox.preferences_3.4.0.v20110502
12	ACTIVE      org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110531-2218
13	ACTIVE      org.eclipse.equinox.ds_1.3.0.v20110502
14	ACTIVE      org.eclipse.equinox.concurrent_1.0.200.v20110502
15	<<LAZY>>    org.eclipse.ecf.provider.remoteservice_4.0.0.v20110531-2218
16	<<LAZY>>    org.eclipse.ecf.provider_4.2.0.v20110531-2218
17	ACTIVE      org.eclipse.ecf.examples.remoteservices.hello_3.0.100.qualifier
19	RESOLVED    org.eclipse.core.runtime.compatibility.registry_3.5.0.v20110505
	            Master=20
20	ACTIVE      org.eclipse.equinox.registry_3.5.100.v20110502
	            Fragments=19
21	ACTIVE      org.eclipse.core.jobs_3.5.100.v20110404
22	ACTIVE      org.eclipse.ecf.identity_3.1.100.v20110531-2218
23	ACTIVE      org.eclipse.ecf_3.1.300.v20110531-2218
24	<<LAZY>>    org.eclipse.ecf.sharedobject_2.2.100.v20110531-2218
25	ACTIVE      org.eclipse.equinox.app_1.3.100.v20110321
26	ACTIVE      org.eclipse.ecf.discovery_4.0.0.v20110531-2218
27	RESOLVED    org.apache.log4j_1.2.13.v200903072027
28	ACTIVE      org.eclipse.ecf.examples.remoteservices.hello.ds.host_3.0.0.qualifier


cheers

Cristiano
Re: Unable to run the Hello example on ecf 3.5 [message #708926 is a reply to message #699660] Wed, 03 August 2011 09:36 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus KuppeFriend
Messages: 177
Registered: July 2009
Senior Member
On 07/22/2011 05:12 AM, Cristiano avi wrote:
> Hi again... just to be more precise, I've followed the instructions to
> change the plugin priorities on both server and consumer launchers.
>
> After the change the Hello Service Consumer (edef,generic).product +
> Hello Service Host (edef,generic).product start to work. nice...
>
> The products Hello Service Host (zookeeper,generic).product, Hello
> Service Host (zookeeper,rosgi).product and Hello Service Host
> (zookeeper,generic).product, Hello Service Consumer
> (zookeeper,generic).product are working without any change, actually.
> good too..
>
> But Hello Service Consumer (zeroconf,generic).product + Hello Service
> Host (zeroconf,generic).product is not working even after changing the
> starting priority.
>
> The Hello Service Host (zeroconf,rosgi).product is running but Hello
> Service Consumer (zeroconf,r-osgi).product is throwing an exception
> (just to certify I've restart eclipse and tried again because the port
> problem, but didn't change anything):
> osgi> WARNING: Port 9278 already in use. This instance of R-OSGi is
> running on port 9279
> !SESSION 2011-07-21 23:53:41.400
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_24
> java.vendor=Apple Inc.
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments: -application
> org.eclipse.ecf.examples.remoteservices.hello.consumer.HelloConsumer
> Command-line arguments: -application
> org.eclipse.ecf.examples.remoteservices.hello.consumer.HelloConsumer
> -data
> /Users/cvgaviao/Workspaces/jbpm5/../runtime-HelloServiceConsumer(zeroconf,r-osgi).product
> -dev
> file:/Users/cvgaviao/Workspaces/jbpm5/.metadata/.plugins/org.eclipse.pde.core/Hello
> Service Consumer (zeroconf,r-osgi).product/dev.properties -os macosx -ws
> cocoa -arch x86_64 -consoleLog -console
>
> !ENTRY ch.ethz.iks.slp 4 0 2011-07-21 23:53:42.723
> !MESSAGE Exception in initial DA lookup
> !STACK 0
> ch.ethz.iks.slp.ServiceLocationException: No route to host
> at ch.ethz.iks.slp.impl.SLPCore.daLookup(SLPCore.java:645)
> at ch.ethz.iks.slp.impl.SLPCore.init(SLPCore.java:321)
> at ch.ethz.iks.slp.impl.Activator$2.getService(Activator.java:51)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceUse$1.run(ServiceUse.java:138)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceUse.getService(ServiceUse.java:136)
>
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:468)
>
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:467)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(BundleContextImpl.java:594)
>
> at
> org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:450)
> at
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:980)
>
> at
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
>
> at
> org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:262)
> at
> org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:185)
>
> at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:348)
> at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:283)
> at
> org.eclipse.ecf.internal.provider.jslp.Activator.getLocator(Activator.java:60)
>
> at
> org.eclipse.ecf.internal.provider.jslp.JSLPDiscoveryJob.run(JSLPDiscoveryJob.java:43)
>
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Where does this exception happen (host or consumer)? Why is jSLP
deployed at all if you intend to use Zeroconf? What does your network
configuration look like?

Markus
Re: Unable to run the Hello example on ecf 3.5 [message #710820 is a reply to message #708926] Fri, 05 August 2011 12:52 Go to previous messageGo to next message
Cristiano Gaviao is currently offline Cristiano GaviaoFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Markus,

The exception occurred on Consumer.

Well, I could say that jSLP was deployed because it is selected as dependency of Hello Service Consumer (zeroconf,r-osgi).product file, see:
<plugin id="ch.ethz.iks.r_osgi.remote"/>
<plugin id="ch.ethz.iks.slp"/>
<plugin id="org.eclipse.core.contenttype"/>
<plugin id="org.eclipse.core.jobs"/>
<plugin id="org.eclipse.core.runtime"/>
<plugin id="org.eclipse.ecf"/>
<plugin id="org.eclipse.ecf.discovery"/>
<plugin id="org.eclipse.ecf.examples.remoteservices.hello"/>
<plugin id="org.eclipse.ecf.examples.remoteservices.hello.consumer"/>
<plugin id="org.eclipse.ecf.identity"/>
<plugin id="org.eclipse.ecf.osgi.services.distribution"/>
<plugin id="org.eclipse.ecf.osgi.services.remoteserviceadmin"/>
<plugin id="org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy"/>
<plugin id="org.eclipse.ecf.provider"/>
<plugin id="org.eclipse.ecf.provider.jmdns"/>
[b]<plugin id="org.eclipse.ecf.provider.jslp"/>[/b]
<plugin id="org.eclipse.ecf.provider.r_osgi"/>
<plugin id="org.eclipse.ecf.remoteservice"/>
<plugin id="org.eclipse.ecf.sharedobject"/>
<plugin id="org.eclipse.equinox.app"/>
<plugin id="org.eclipse.equinox.common"/>
<plugin id="org.eclipse.equinox.concurrent"/>
<plugin id="org.eclipse.equinox.preferences"/>
<plugin id="org.eclipse.equinox.registry"/>
<plugin id="org.eclipse.osgi"/>
<plugin id="org.eclipse.osgi.services"/>
<plugin id="org.eclipse.osgi.services.remoteserviceadmin"/>
<plugin id="org.objectweb.asm"/>


and Hello Service Host (zeroconf,rosgi).product:
<plugin id="ch.ethz.iks.r_osgi.remote"/>
<plugin id="org.eclipse.core.contenttype"/>
<plugin id="org.eclipse.core.jobs"/>
<plugin id="org.eclipse.core.runtime"/>
<plugin id="org.eclipse.ecf"/>
<plugin id="org.eclipse.ecf.discovery"/>
<plugin id="org.eclipse.ecf.examples.remoteservices.hello"/>
<plugin id="org.eclipse.ecf.examples.remoteservices.hello.host"/>
<plugin id="org.eclipse.ecf.identity"/>
<plugin id="org.eclipse.ecf.osgi.services.distribution"/>
<plugin id="org.eclipse.ecf.osgi.services.remoteserviceadmin"/>
<plugin id="org.eclipse.ecf.osgi.services.remoteserviceadmin.proxy"/>
<plugin id="org.eclipse.ecf.provider"/>
<plugin id="org.eclipse.ecf.provider.jmdns"/>
<plugin id="org.eclipse.ecf.provider.r_osgi"/>
<plugin id="org.eclipse.ecf.remoteservice"/>
<plugin id="org.eclipse.ecf.sharedobject"/>
<plugin id="org.eclipse.equinox.app"/>
<plugin id="org.eclipse.equinox.common"/>
<plugin id="org.eclipse.equinox.concurrent"/>
<plugin id="org.eclipse.equinox.preferences"/>
<plugin id="org.eclipse.equinox.registry"/>
<plugin id="org.eclipse.osgi"/>
<plugin id="org.eclipse.osgi.services"/>
<plugin id="org.eclipse.osgi.services.remoteserviceadmin"/>
<plugin id="org.objectweb.asm"/>


I just clone the git repo and use it as is... I didn't change anything Wink

so, I've removed <plugin id="org.eclipse.ecf.provider.jslp"/> and left <plugin id="org.eclipse.ecf.provider.jmdns"/>, but the problem changed:

osgi> WARNING: Port 9278 already in use. This instance of R-OSGi is running on port 9281
!SESSION 2011-08-05 09:45:26.355 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_26
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -application org.eclipse.ecf.examples.remoteservices.hello.consumer.HelloConsumer
Command-line arguments:  -application org.eclipse.ecf.examples.remoteservices.hello.consumer.HelloConsumer -data /Users/cvgaviao/Workspaces/ecf/../runtime-HelloServiceConsumer(zeroconf,r-osgi).product -dev file:/Users/cvgaviao/Workspaces/ecf/.metadata/.plugins/org.eclipse.pde.core/Hello Service Consumer (zeroconf,r-osgi).product/dev.properties -os macosx -ws cocoa -arch x86_64 -consoleLog -console

!ENTRY org.eclipse.ecf.osgi.services.remoteserviceadmin 4 0 2011-08-05 09:45:33.578
!MESSAGE org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.remoteserviceadmin;code=4;message=org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin:importService:selectRemoteServiceReference returned null for rsRefs=[],targetID=r-osgi://localhost:9278,idFilter=[Lorg.eclipse.ecf.core.identity.ID;@614a75bb,interfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello],rsFilter=(&(ecf.rsvc.id=60)),rsContainerID=r-osgi://18777233209.telemar.net.br:9281;severity4;exception=RemoteReferenceNotFoundException[targetID=r-osgi://localhost:9278, idFilter=[r-osgi://localhost:9278], interfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello], rsFilter=(&(ecf.rsvc.id=60))];children=[]]
!STACK 0
RemoteReferenceNotFoundException[targetID=r-osgi://localhost:9278, idFilter=[r-osgi://localhost:9278], interfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello], rsFilter=(&(ecf.rsvc.id=60))]
	at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:1984)
	at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:356)
	at org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTopologyManager.handleEndpointAdded(AbstractTopologyManager.java:225)
	at org.eclipse.ecf.internal.osgi.services.distribution.BasicTopologyManager.endpointAdded(BasicTopologyManager.java:133)
	at org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptionLocator$1.dispatchEvent(EndpointDescriptionLocator.java:154)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.ecf.osgi.services.remoteserviceadmin 4 0 2011-08-05 09:45:33.582
!MESSAGE org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.remoteserviceadmin;code=4;message=org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin:RemoteServiceAdmin.postEvent:No event admin service available to post event=RemoteServiceAdminEvent[containerID=null, getType()=5, getSource()=org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [15], getException()=RemoteReferenceNotFoundException[targetID=r-osgi://localhost:9278, idFilter=[r-osgi://localhost:9278], interfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello], rsFilter=(&(ecf.rsvc.id=60))], getImportReference()=null, getExportReference()=null];severity4;exception=null;children=[]]

!ENTRY org.eclipse.ecf.osgi.services.remoteserviceadmin 4 0 2011-08-05 09:45:33.587
!MESSAGE org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.remoteserviceadmin;code=4;message=org.eclipse.ecf.internal.osgi.services.distribution.BasicTopologyManager:handleInvalidImportRegistration:importRegistration=org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin$ImportRegistration@76b20352;severity4;exception=RemoteReferenceNotFoundException[targetID=r-osgi://localhost:9278, idFilter=[r-osgi://localhost:9278], interfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello], rsFilter=(&(ecf.rsvc.id=60))];children=[]]
!STACK 0
RemoteReferenceNotFoundException[targetID=r-osgi://localhost:9278, idFilter=[r-osgi://localhost:9278], interfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello], rsFilter=(&(ecf.rsvc.id=60))]
	at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:1984)
	at org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:356)
	at org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTopologyManager.handleEndpointAdded(AbstractTopologyManager.java:225)
	at org.eclipse.ecf.internal.osgi.services.distribution.BasicTopologyManager.endpointAdded(BasicTopologyManager.java:133)
	at org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptionLocator$1.dispatchEvent(EndpointDescriptionLocator.java:154)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)


cheers
Re: Unable to run the Hello example on ecf 3.5 [message #713278 is a reply to message #710820] Mon, 08 August 2011 09:26 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus KuppeFriend
Messages: 177
Registered: July 2009
Senior Member
On 08/05/2011 02:52 PM, Cristiano avi wrote:

> osgi> WARNING: Port 9278 already in use. This instance of R-OSGi is
> running on port 9281
> !SESSION 2011-08-05 09:45:26.355
> -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_26
> java.vendor=Apple Inc.
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments: -application
> org.eclipse.ecf.examples.remoteservices.hello.consumer.HelloConsumer
> Command-line arguments: -application
> org.eclipse.ecf.examples.remoteservices.hello.consumer.HelloConsumer
> -data
> /Users/cvgaviao/Workspaces/ecf/../runtime-HelloServiceConsumer(zeroconf,r-osgi).product
> -dev
> file:/Users/cvgaviao/Workspaces/ecf/.metadata/.plugins/org.eclipse.pde.core/Hello
> Service Consumer (zeroconf,r-osgi).product/dev.properties -os macosx -ws
> cocoa -arch x86_64 -consoleLog -console
>
> !ENTRY org.eclipse.ecf.osgi.services.remoteserviceadmin 4 0 2011-08-05
> 09:45:33.578
> !MESSAGE
> org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.remoteserviceadmin;code=4;message=org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin:importService:selectRemoteServiceReference
> returned null for
> rsRefs=[],targetID=r-osgi://localhost:9278,idFilter=[Lorg.eclipse.ecf.core.identity.ID;@614a75bb,interfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello],rsFilter=(&(ecf.rsvc.id=60)),rsContainerID=r-osgi://18777233209.telemar.net.br:9281;severity4;exception=RemoteReferenceNotFoundException[targetID=r-osgi://localhost:9278,
> idFilter=[r-osgi://localhost:9278],
> interfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello],
> rsFilter=(&(ecf.rsvc.id=60))];children=[]]
> !STACK 0
> RemoteReferenceNotFoundException[targetID=r-osgi://localhost:9278,
> idFilter=[r-osgi://localhost:9278],
> interfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello],
> rsFilter=(&(ecf.rsvc.id=60))]
> at
> org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:1984)
>
> at
> org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:356)
>
> at
> org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTopologyManager.handleEndpointAdded(AbstractTopologyManager.java:225)
>
> at
> org.eclipse.ecf.internal.osgi.services.distribution.BasicTopologyManager.endpointAdded(BasicTopologyManager.java:133)
>
> at
> org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptionLocator$1.dispatchEvent(EndpointDescriptionLocator.java:154)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
>
>
> !ENTRY org.eclipse.ecf.osgi.services.remoteserviceadmin 4 0 2011-08-05
> 09:45:33.582
> !MESSAGE
> org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.remoteserviceadmin;code=4;message=org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin:RemoteServiceAdmin.postEvent:No
> event admin service available to post
> event=RemoteServiceAdminEvent[containerID=null, getType()=5,
> getSource()=org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727
> [15],
> getException()=RemoteReferenceNotFoundException[targetID=r-osgi://localhost:9278,
> idFilter=[r-osgi://localhost:9278],
> interfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello],
> rsFilter=(&(ecf.rsvc.id=60))], getImportReference()=null,
> getExportReference()=null];severity4;exception=null;children=[]]
>
> !ENTRY org.eclipse.ecf.osgi.services.remoteserviceadmin 4 0 2011-08-05
> 09:45:33.587
> !MESSAGE
> org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.osgi.services.remoteserviceadmin;code=4;message=org.eclipse.ecf.internal.osgi.services.distribution.BasicTopologyManager:handleInvalidImportRegistration:importRegistration=org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin$ImportRegistration@76b20352;severity4;exception=RemoteReferenceNotFoundException[targetID=r-osgi://localhost:9278,
> idFilter=[r-osgi://localhost:9278],
> interfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello],
> rsFilter=(&(ecf.rsvc.id=60))];children=[]]
> !STACK 0
> RemoteReferenceNotFoundException[targetID=r-osgi://localhost:9278,
> idFilter=[r-osgi://localhost:9278],
> interfaces=[org.eclipse.ecf.examples.remoteservices.hello.IHello],
> rsFilter=(&(ecf.rsvc.id=60))]
> at
> org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:1984)
>
> at
> org.eclipse.ecf.osgi.services.remoteserviceadmin.RemoteServiceAdmin.importService(RemoteServiceAdmin.java:356)
>
> at
> org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractTopologyManager.handleEndpointAdded(AbstractTopologyManager.java:225)
>
> at
> org.eclipse.ecf.internal.osgi.services.distribution.BasicTopologyManager.endpointAdded(BasicTopologyManager.java:133)
>
> at
> org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptionLocator$1.dispatchEvent(EndpointDescriptionLocator.java:154)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>
> at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
>
>
> cheers
>

Hi Christiano,

what is the content of the service registry during importService()
(output of "services" on the console)?

Markus
Re: Unable to run the Hello example on ecf 3.5 [message #713613 is a reply to message #713278] Mon, 08 August 2011 16:48 Go to previous messageGo to next message
Cristiano Gaviao is currently offline Cristiano GaviaoFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Markus,

After have disabled the r-osgi on my eclipse IDE the later exception gone.
But I still have no success running Hello Service Consumer (zeroconf,generic).product .
No message is showed, except:
osgi> WARNING: Port 9278 already in use. This instance of R-OSGi is running on port 9279.

This are the services for the host after Hello Service Host (zeroconf,rosgi).product:
{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 [24]
    org.eclipse.core.runtime_3.7.0.v20110110 [2]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [6]
    org.eclipse.core.jobs_3.5.100.v20110404 [14]
    org.eclipse.equinox.app_1.3.100.v20110321 [26]
    org.eclipse.equinox.registry_3.5.100.v20110502 [16]
    ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20110803-0727 [22]
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110803-0727 [10]
{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 [24]
    org.eclipse.core.runtime_3.7.0.v20110110 [2]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [6]
    org.eclipse.core.jobs_3.5.100.v20110404 [14]
    org.eclipse.equinox.registry_3.5.100.v20110502 [16]
    org.eclipse.ecf.identity_3.1.100.v20110531-2218 [19]
{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.app_1.3.100.v20110321 [26]
{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 [2]
{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]
  No bundles using service.
{org.eclipse.osgi.framework.console.CommandProvider}={service.ranking=2147483547, service.id=61}
  Registered by bundle: org.eclipse.ecf.examples.remoteservices.hello.host_3.0.0.qualifier [7]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.ecf.discovery.service.IDiscoveryService, org.eclipse.ecf.discovery.IDiscoveryLocator, org.eclipse.ecf.discovery.IDiscoveryAdvertiser}={service.ranking=750, org.eclipse.ecf.discovery.containerName=ecf.discovery.jmdns, service.id=59}
  Registered by bundle: org.eclipse.ecf.provider.jmdns_4.1.0.v20110803-0727 [12]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
{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 [24]
    org.eclipse.core.runtime_3.7.0.v20110110 [2]
{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 [24]
    org.eclipse.core.runtime_3.7.0.v20110110 [2]
    ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20110803-0727 [22]
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
{javax.xml.parsers.SAXParserFactory}={service.id=13}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{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 [6]
{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 [6]
    org.eclipse.equinox.app_1.3.100.v20110321 [26]
    org.eclipse.equinox.registry_3.5.100.v20110502 [16]
{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 [24]
{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.eclipse.osgi.service.urlconversion.URLConverter}={protocol=platform, service.id=30}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [24]
  No bundles using service.
{org.eclipse.core.runtime.IAdapterManager}={service.id=31}
  Registered by bundle: org.eclipse.equinox.common_3.6.0.v20110523 [24]
  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 [24]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.core.internal.preferences.exchange.IProductPreferencesService}={service.id=33}
  Registered by bundle: org.eclipse.core.runtime_3.7.0.v20110110 [2]
  No bundles using service.
{org.eclipse.core.runtime.preferences.IPreferencesService}={service.id=34}
  Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110502 [6]
  No bundles using service.
{org.osgi.service.prefs.PreferencesService}={service.id=35}
  Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110502 [6]
  No bundles using service.
{org.eclipse.core.runtime.jobs.IJobManager}={service.id=36}
  Registered by bundle: org.eclipse.core.jobs_3.5.100.v20110404 [14]
  No bundles using service.
{org.eclipse.core.runtime.IExtensionRegistry}={service.id=37}
  Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20110502 [16]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [6]
    org.eclipse.equinox.app_1.3.100.v20110321 [26]
    org.eclipse.ecf.identity_3.1.100.v20110531-2218 [19]
    org.eclipse.ecf_3.1.300.v20110531-2218 [25]
    org.eclipse.ecf.sharedobject_2.2.100.v20110803-0727 [17]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=38}
  Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20110502 [16]
  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=org.eclipse.ecf.examples.remoteservices.hello.host.HelloHost, application.launchable=true, eclipse.application.default=true, application.locked=false, application.location=initial@reference:file:../../../Development/Development_Eclipse/org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/, service.id=39}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [26]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [26]
{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:../../../Development/C4Biz_Projects/Osgi-WSHT/com.c4biz.owsht.p2/target/repository/plugins/org.eclipse.equinox.app_1.3.100.v20110321.jar/, service.id=40}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [26]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [26]
{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=org.eclipse.ecf.examples.remoteservices.hello.host.HelloHost.0, application.descriptor=org.eclipse.ecf.examples.remoteservices.hello.host.HelloHost, service.id=41}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [26]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [26]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=42}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [26]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.service.runnable.ApplicationLauncher}={service.id=43}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [26]
{org.osgi.service.remoteserviceadmin.RemoteServiceAdmin}={org.eclipse.ecf.rsa=true, service.id=44}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110803-0727 [10]
{org.eclipse.ecf.core.identity.IIDFactory}={service.id=49}
  Registered by bundle: org.eclipse.ecf.identity_3.1.100.v20110531-2218 [19]
  No bundles using service.
{org.osgi.service.remoteserviceadmin.EndpointListener}={endpoint.listener.scope=(!(endpoint.framework.uuid=505f74f0-d8c1-0010-19b6-853f6e8748de)), service.id=50}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110803-0727 [10]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
{org.osgi.framework.hooks.service.EventHook}={service.id=51}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110803-0727 [10]
  No bundles using service.
{org.eclipse.ecf.examples.remoteservices.hello.IHello}={ecf.exported.containerfactoryargs=r-osgi://localhost:9278, service.exported.configs=ecf.r_osgi.peer, service.exported.interfaces=*, service.id=52}
  Registered by bundle: org.eclipse.ecf.examples.remoteservices.hello.host_3.0.0.qualifier [7]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110803-0727 [10]
    org.eclipse.ecf.provider.r_osgi_3.2.0.v20110803-0727 [1]
{org.eclipse.ecf.core.IContainerFactory}={service.id=53}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [25]
  No bundles using service.
{org.eclipse.ecf.core.IContainerManager}={service.id=54}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [25]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
{ch.ethz.iks.r_osgi.RemoteOSGiService, ch.ethz.iks.r_osgi.Remoting}={service.id=57}
  Registered by bundle: ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20110803-0727 [22]
  Bundles using service:
    org.eclipse.ecf.provider.r_osgi_3.2.0.v20110803-0727 [1]
{ch.ethz.iks.r_osgi.channels.NetworkChannelFactory}={protocol=r-osgi, service.id=58}
  Registered by bundle: ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20110803-0727 [22]
  Bundles using service:
    ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20110803-0727 [22]
{org.eclipse.ecf.examples.remoteservices.hello.IHello}={service.id=60, service.remote.registration=true, ecf.rsvc.ranking=0, ecf.rsvc.id=60, ecf.robjectClass=[org.eclipse.ecf.examples.remoteservices.hello.IHello], ecf.rsvc.cid=r-osgi://localhost:9278}
  Registered by bundle: org.eclipse.ecf.examples.remoteservices.hello.host_3.0.0.qualifier [7]
  Bundles using service:
    ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20110803-0727 [22]
{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 [26]
{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=45}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110803-0727 [10]
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IServiceInfoFactory}={service.ranking=-2147483648, service.id=46}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IDiscoveredEndpointDescriptionFactory}={service.ranking=-2147483648, service.id=47}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IEndpointDescriptionReader}={service.ranking=-2147483648, service.id=48}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IHostContainerSelector}={service.ranking=-2147483648, service.id=55}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110803-0727 [10]
  Bundles using service:
    org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110803-0727 [10]
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IConsumerContainerSelector}={service.ranking=-2147483648, service.id=56}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110803-0727 [10]
  No bundles using service.


And this are services for consumer after run Hello Service Consumer (zeroconf,r-osgi).product:

osgi> WARNING: Port 9278 already in use. This instance of R-OSGi is running on port 9279
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 [2]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [6]
    org.eclipse.core.jobs_3.5.100.v20110404 [13]
    org.eclipse.equinox.app_1.3.100.v20110321 [27]
    org.eclipse.equinox.registry_3.5.100.v20110502 [15]
    ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20110803-0727 [21]
{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 [2]
    org.eclipse.equinox.preferences_3.4.0.v20110502 [6]
    org.eclipse.core.jobs_3.5.100.v20110404 [13]
    org.eclipse.equinox.registry_3.5.100.v20110502 [15]
    org.eclipse.ecf.identity_3.1.100.v20110531-2218 [18]
{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.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 [2]
{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]
  No bundles using service.
{org.eclipse.ecf.discovery.service.IDiscoveryService, org.eclipse.ecf.discovery.IDiscoveryLocator, org.eclipse.ecf.discovery.IDiscoveryAdvertiser}={service.ranking=750, org.eclipse.ecf.discovery.containerName=ecf.discovery.jmdns, service.id=56}
  Registered by bundle: org.eclipse.ecf.provider.jmdns_4.1.0.v20110803-0727 [11]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
{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 [2]
{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 [2]
    ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20110803-0727 [21]
{javax.xml.parsers.SAXParserFactory}={service.id=13}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  No bundles using service.
{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 [6]
{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 [6]
    org.eclipse.equinox.app_1.3.100.v20110321 [27]
    org.eclipse.equinox.registry_3.5.100.v20110502 [15]
{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.eclipse.osgi.service.urlconversion.URLConverter}={protocol=platform, service.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.eclipse.core.internal.preferences.exchange.IProductPreferencesService}={service.id=33}
  Registered by bundle: org.eclipse.core.runtime_3.7.0.v20110110 [2]
  No bundles using service.
{org.eclipse.core.runtime.preferences.IPreferencesService}={service.id=34}
  Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110502 [6]
  No bundles using service.
{org.osgi.service.prefs.PreferencesService}={service.id=35}
  Registered by bundle: org.eclipse.equinox.preferences_3.4.0.v20110502 [6]
  No bundles using service.
{org.eclipse.core.runtime.jobs.IJobManager}={service.id=36}
  Registered by bundle: org.eclipse.core.jobs_3.5.100.v20110404 [13]
  No bundles using service.
{org.eclipse.core.runtime.IExtensionRegistry}={service.id=37}
  Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20110502 [15]
  Bundles using service:
    org.eclipse.equinox.preferences_3.4.0.v20110502 [6]
    org.eclipse.equinox.app_1.3.100.v20110321 [27]
    org.eclipse.ecf.identity_3.1.100.v20110531-2218 [18]
    org.eclipse.ecf_3.1.300.v20110531-2218 [26]
    org.eclipse.ecf.sharedobject_2.2.100.v20110803-0727 [16]
{org.eclipse.osgi.framework.console.CommandProvider}={service.id=38}
  Registered by bundle: org.eclipse.equinox.registry_3.5.100.v20110502 [15]
  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=org.eclipse.ecf.examples.remoteservices.hello.consumer.HelloConsumer, application.launchable=true, eclipse.application.default=true, application.locked=false, application.location=initial@reference:file:../../../Development/Development_Eclipse/org.eclipse.ecf/examples/bundles/org.eclipse.ecf.examples.remoteservices.hello.consumer/, service.id=39}
  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=false, application.locked=false, application.location=initial@reference:file:../../../Development/C4Biz_Projects/Osgi-WSHT/com.c4biz.owsht.p2/target/repository/plugins/org.eclipse.equinox.app_1.3.100.v20110321.jar/, service.id=40}
  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.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=org.eclipse.ecf.examples.remoteservices.hello.consumer.HelloConsumer.0, application.descriptor=org.eclipse.ecf.examples.remoteservices.hello.consumer.HelloConsumer, service.id=41}
  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=42}
  Registered by bundle: org.eclipse.equinox.app_1.3.100.v20110321 [27]
  Bundles using service:
    org.eclipse.osgi_3.7.0.v20110613 [0]
{org.eclipse.osgi.service.runnable.ApplicationLauncher}={service.id=43}
  Registered by bundle: org.eclipse.osgi_3.7.0.v20110613 [0]
  Bundles using service:
    org.eclipse.equinox.app_1.3.100.v20110321 [27]
{org.osgi.service.remoteserviceadmin.RemoteServiceAdmin}={org.eclipse.ecf.rsa=true, service.id=44}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
  No bundles using service.
{org.eclipse.ecf.core.identity.IIDFactory}={service.id=49}
  Registered by bundle: org.eclipse.ecf.identity_3.1.100.v20110531-2218 [18]
  No bundles using service.
{org.osgi.service.remoteserviceadmin.EndpointListener}={endpoint.listener.scope=(!(endpoint.framework.uuid=00f4bfbb-dcc1-0010-15f2-d126fda3e392)), service.id=50}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110803-0727 [9]
  Bundles using service:
    org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
{org.osgi.framework.hooks.service.EventHook}={service.id=51}
  Registered by bundle: org.eclipse.ecf.osgi.services.distribution_2.0.100.v20110803-0727 [9]
  No bundles using service.
{org.eclipse.ecf.core.IContainerFactory}={service.id=52}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [26]
  Bundles using service:
    org.eclipse.ecf.examples.remoteservices.hello.consumer_3.0.0.qualifier [24]
{org.eclipse.ecf.core.IContainerManager}={service.id=53}
  Registered by bundle: org.eclipse.ecf_3.1.300.v20110531-2218 [26]
  No bundles using service.
{ch.ethz.iks.r_osgi.RemoteOSGiService, ch.ethz.iks.r_osgi.Remoting}={service.id=54}
  Registered by bundle: ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20110803-0727 [21]
  Bundles using service:
    org.eclipse.ecf.provider.r_osgi_3.2.0.v20110803-0727 [1]
{ch.ethz.iks.r_osgi.channels.NetworkChannelFactory}={protocol=r-osgi, service.id=55}
  Registered by bundle: ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20110803-0727 [21]
  Bundles using service:
    ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20110803-0727 [21]
{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=45}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IServiceInfoFactory}={service.ranking=-2147483648, service.id=46}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IDiscoveredEndpointDescriptionFactory}={service.ranking=-2147483648, service.id=47}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
  No bundles using service.
{org.eclipse.ecf.osgi.services.remoteserviceadmin.IEndpointDescriptionReader}={service.ranking=-2147483648, service.id=48}
  Registered by bundle: org.eclipse.ecf.osgi.services.remoteserviceadmin_2.0.100.v20110803-0727 [4]
  No bundles using service.


cheers
Re: Unable to run the Hello example on ecf 3.5 [message #714318 is a reply to message #713613] Wed, 10 August 2011 09:20 Go to previous messageGo to next message
Markus Kuppe is currently offline Markus KuppeFriend
Messages: 177
Registered: July 2009
Senior Member
On 08/08/2011 06:48 PM, Cristiano avi wrote:
> Hi Markus,
>
> After have disabled the r-osgi on my eclipse IDE the later exception
> gone. But I still have no success running Hello Service Consumer
> (zeroconf,generic).product . No message is showed, except: osgi>
> WARNING: Port 9278 already in use. This instance of R-OSGi is running on
> port 9279.

This message indicates that the consumer still starts the r-OSGi
provider. Make sure it's gone from the launch config if you intend to
use the generic provider.
However, why do you show the output for the r-OSGi provider if you want
to use the generic provider? Keep in mind, that you cannot mix r-OSGi
with the generic provider. Providers have to match on both sides.

> This are the services for the host after Hello Service Host
> (zeroconf,rosgi).product:

> {org.eclipse.ecf.examples.remoteservices.hello.IHello}={ecf.exported.containerfactoryargs=r-osgi://localhost:9278,
> service.exported.configs=ecf.r_osgi.peer, service.exported.interfaces=*,
> service.id=52}
>
>
> And this are services for consumer after run Hello Service Consumer
> (zeroconf,r-osgi).product:

Markus
Re: Unable to run the Hello example on ecf 3.5 [message #714377 is a reply to message #714318] Wed, 10 August 2011 13:01 Go to previous messageGo to next message
Cristiano Gaviao is currently offline Cristiano GaviaoFriend
Messages: 253
Registered: July 2009
Senior Member
Smile It was because the hurry... I just copy the wrong file name...

But my problem is all about the r-osgi example. Generic is working like a charm !

cheers
Re: Unable to run the Hello example on ecf 3.5 [message #715992 is a reply to message #714377] Tue, 16 August 2011 07:23 Go to previous message
Markus Kuppe is currently offline Markus KuppeFriend
Messages: 177
Registered: July 2009
Senior Member
On 08/10/2011 03:01 PM, Cristiano avi wrote:
> :) It was because the hurry... I just copy the wrong file name...
> But my problem is all about the r-osgi example. Generic is working like
> a charm !

I suggest you start with a fresh checkout from git. Running
/org.eclipse.ecf.examples.remoteservices.hello.consumer/products/Hello
Service Consumer (zeroconf,r-osgi).product and the corresponding
/org.eclipse.ecf.examples.remoteservices.hello.host/products/Hello
Service Host (zeroconf,rosgi).product works fine here.

If it still doesn't work with a clean checkout, provide the host and
consumer console output as well as the service registry content
("services" command on console).

Markus
Previous Topic:Why the remote service reference could not be obtained using an edef xml file?
Next Topic:Discovery with load balancing - is there such discovery mechanism?
Goto Forum:
  


Current Time: Fri Nov 28 23:17:19 GMT 2014

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

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