cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: CXF DOSGI EndPoint description and Zookeeper
Date Tue, 24 Jul 2012 21:34:42 GMT
Hi
On 24/07/12 21:03, Spandit2 wrote:
> I think the DOSGI and ZooKeeeper link has been established . Because when I
> do ls  in zkcli or
> do getChildrens using zooKeeper API , I get
> [192.168.1.2#8090##appentry#rqastartflow]
>
> Which is the URL of my service . Also in the JBoss server log where I have
> deployed DOSGI , I can see
>
> /12:46:18,352 INFO
> [org.apache.cxf.dosgi.discovery.zookeeper.EndpointListenerImpl]
> (pool-4-thread-4) endpointDescription added: {com.csc.fs.orgname=org1,
> endpoint.framework.uuid=e75c4184-7e62-445e-bbc8-5fd89dde02b8,
> endpoint.id=http://192.168.1.2:8090/appentry/rqastartflow,
> endpoint.package.version.com.csc.fs.BreezWay.AppEntry.intf=0.0.0,
> endpoint.service.id=48,
> objectClass=[com.csc.fs.BreezWay.AppEntry.intf.RQAStartFlow],
> org.apache.cxf.rs.address=http://192.168.1.2:8090/appentry/rqastartflow,
> org.apache.cxf.rs.databinding=aegis,
> org.apache.cxf.rs.httpservice.context=/appentry/rqastartflow,
> service.imported=true, service.imported.configs=[org.apache.cxf.rs],
> service.intents=[HTTP]}
> 12:46:18,353 INFO
> [org.apache.cxf.dosgi.discovery.zookeeper.EndpointListenerImpl]
> (pool-4-thread-4) Creating ZooKeeper node:
> /osgi/service_registry/com/csc/fs/BreezWay/AppEntry/intf/RQAStartFlow/192.168.1.2#8090##appentry#rqastartflow/
>
> So not sure what I am missing.

Unfortunately the last time I tried it was when I was working on DOsgi 
1.3 which was awhile back.
I'd like to suggest the following:
- try DOSGI client. Note a CXF RS client code only works with a single 
bundle distro - though this is fixed on the trunk (multi-bundle mode is 
OK too) - if it works then the info must be available in Zookeeper
- please describe here exactly the way you set up/configure it all, and 
I'm sure David can spot something, if anything is not right :-)
I'll then work on updating the wiki

Cheers, Sergey
>
> Appreciate your help.
> Sunil
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/CXF-DOSGI-EndPoint-description-and-Zookeeper-tp5711529p5711546.html
> Sent from the cxf-user mailing list archive at Nabble.com.


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Mime
View raw message