Hi mikssin,

As you've seen, location of the zookeeper server is set into the DOSGi
system through configuration admin.
I'm not sure zookeeper itself supports dynamic discovery of its server
(check their docs etc) but if it does you could write a a little
bundle that uses that mechanism to find out where the zookeeper server
is and then set that value dynamically through configadmin into DOSGi
(the DOSGi Zookeeper support supports dynamic reconfiguration at
runtime).

However I'm not so sure the dynamic discovery if the zookeeper server
is always a good idea. Most systems that support this type of
discovery use a broadcast message of some sort. Generally that type of
message is considered not very secure and is not allowed in many
deployment scenarios.

Possibly a generally better approach would be to use a
management/orchestration system which knows where in your system the
zookeeper servers are. Then you use that information to configure your
DOSGi nodes.

Cheers,

David

On 29 April 2011 07:25, mikssin <michele.girol...@isti.cnr.it> wrote:
> Hi Willem,
>
> You are right, I'm referring to DOSGi subproject.
> Sorry for the misunderstanding.
>
> Regards.--
> View this message in context: 
> http://cxf.547215.n5.nabble.com/Discover-ZooKeeper-URL-tp4346835p4357983.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>

Reply via email to