Hi
On 28/02/13 22:19, nkrendel wrote:
I'm trying to test the greeter_rest dOSGi sample in a vanilla install of
Felix 4.0.3. I have two instances running on two different machines. I
installed the multi-bundle version of dOSGI 1.4.0. and ran the server in a
Mac install of Felix 4.0.3 and the client in a Windows install of Felix
4.0.3.
The server comes up and I can get to the /greeter resource via browser or
restclient. However the client bundle doesn't bring up the UI, and looks
like it's not able to find the remote service.
Does the client work when running it on the same host with the server ?
I wonder if the Mac endpoint should be configured with a host name that
can be reached from the Windows client ?
Cheers, Sergey
The last log lines I see on the client side are these:
--------------------------
[FelixDispatchQueue] DEBUG
org.apache.cxf.dosgi.topologymanager.importer.TopologyManagerImport -
importable se
rvice added for filter
(&(objectClass=org.apache.cxf.dosgi.samples.greeter.rest.GreeterService)(!(endpoint.fra
mework.uuid=ca2698c6-3437-4fa9-978c-3587b779bd7a))), endpoint
{endpoint.id=http://localhost:9000/org/apache/cx
f/dosgi/samples/greeter/rest/GreeterService,
objectClass=[org.apache.cxf.dosgi.samples.greeter.rest.GreeterSer
vice], org.apache.cxf.rs.address=http://10.47.36.213:8080/greeter,
service.imported=true, service.imported.con
figs=org.apache.cxf.rs}
[FelixDispatchQueue] DEBUG
org.apache.cxf.dosgi.topologymanager.importer.TopologyManagerImport - Import
of a s
ervice for filter
(&(objectClass=org.apache.cxf.dosgi.samples.greeter.rest.GreeterService)(!(endpoint.framewor
k.uuid=ca2698c6-3437-4fa9-978c-3587b779bd7a))) was queued
[FelixDispatchQueue] DEBUG
org.apache.cxf.dosgi.topologymanager.importer.TopologyManagerImport -
importable se
rvice added for filter
(&(objectClass=org.apache.cxf.dosgi.samples.greeter.rest.GreeterService2)(!(endpoint.fr
amework.uuid=ca2698c6-3437-4fa9-978c-3587b779bd7a))), endpoint
{endpoint.id=http://localhost:9000/org/apache/c
xf/dosgi/samples/greeter/rest/GreeterService2,
objectClass=[org.apache.cxf.dosgi.samples.greeter.rest.GreeterS
ervice2], org.apache.cxf.rs.address=http://10.47.36.213:8080/greeter2,
service.imported=true, service.imported
.configs=org.apache.cxf.rs}
[FelixDispatchQueue] DEBUG
org.apache.cxf.dosgi.topologymanager.importer.TopologyManagerImport - Import
of a s
ervice for filter
(&(objectClass=org.apache.cxf.dosgi.samples.greeter.rest.GreeterService2)(!(endpoint.framewo
rk.uuid=ca2698c6-3437-4fa9-978c-3587b779bd7a))) was queued
[FelixDispatchQueue] DEBUG cxf-dosgi-ri-samples-greeter-rest-client -
BundleEvent STARTED - cxf-dosgi-ri-sampl
es-greeter-rest-client
--------------------------
The URL mentioned for org.apache.cxf.rs.address is right, but still the
service import remains as "queued" according to the log.
Any help as to what I may be missing would be much appreciated!
--
View this message in context:
http://cxf.547215.n5.nabble.com/d-OSGi-greeter-rest-demo-in-Felix-4-0-3-client-question-tp5723900.html
Sent from the cxf-user mailing list archive at Nabble.com.