Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 27545DD34 for ; Tue, 24 Jul 2012 21:35:12 +0000 (UTC) Received: (qmail 68821 invoked by uid 500); 24 Jul 2012 21:35:11 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 68752 invoked by uid 500); 24 Jul 2012 21:35:11 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 68741 invoked by uid 99); 24 Jul 2012 21:35:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 21:35:11 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sberyozkin@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-we0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 21:35:05 +0000 Received: by weys10 with SMTP id s10so31982wey.0 for ; Tue, 24 Jul 2012 14:34:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=5ndTUa9BSwhRXbUMhuhsHQw4X8Y1rVNnJZPtLW9P008=; b=xHqcGdPC52jaYRZEQHLYzvNSOjX5EPHMX/k3hnvUSDXfWy1VM20+x1iDZDs8Syg/uI pObAwxGUvgnSSWDbvgJM4qlzzHKlq7uuqAp0C/iYs1qxuqEYanwQl3WZKS2gtPYbYkRa jgxi5nWWWJJZkpJQBnkgdrqbt5hHc/JlNmpnjIW/klWUef8088Qu8V5HpSwuJzOOP2hJ gHj1BKqlxaFcBq2m1CDhh7KvFtO39ZYHXelXbN8XTAg3nAo1wsZPzl7LrhNrc0yL6vje gu0xzHmOA34RygNQVLWlL2DVXNTZK3fZImp7zaHgNT9Uk3jvDMx042CiVJ8sltgevirC w/7g== Received: by 10.180.107.2 with SMTP id gy2mr10636884wib.2.1343165684521; Tue, 24 Jul 2012 14:34:44 -0700 (PDT) Received: from [192.168.2.3] ([89.100.190.79]) by mx.google.com with ESMTPS id c1sm796228eeo.5.2012.07.24.14.34.43 (version=SSLv3 cipher=OTHER); Tue, 24 Jul 2012 14:34:44 -0700 (PDT) Message-ID: <500F14F2.1070008@gmail.com> Date: Tue, 24 Jul 2012 22:34:42 +0100 From: Sergey Beryozkin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: users@cxf.apache.org CC: Spandit2 Subject: Re: CXF DOSGI EndPoint description and Zookeeper References: <1343148404206-5711529.post@n5.nabble.com> <1343154342281-5711542.post@n5.nabble.com> <1343156267829-5711544.post@n5.nabble.com> <500EF662.2020901@gmail.com> <1343160217768-5711546.post@n5.nabble.com> In-Reply-To: <1343160217768-5711546.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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