I'm trying to get the same thing running and I made some progress on this, so I thought
I will share this, even though it is not yet fully functional. I'm running JBoss 7.1.1.Final
For some reason, I had to disable configadmin subsystem. I got some errors on the log file
complaining about it.
Instead I have now felix configadmin installed (comes with the cxf dosgi) for the zookeeper part,
I think these are the capabilities I have:
After this setup, I got my zookeeper up and running. And I get my component automatically registered
By default, zookeeper assigns a random port number to which it listens. In the log file,
I could see something like "Setting global zookeeper port to xxxxxx".
By setting this configuration to standalone.xml, I can set the port number to fixed
<property name="org.apache.cxf.dosgi.discovery.zookeeper.port" value="2181" />
On client side, one needs to create an entry in the OSGi Configuration Admin Service with
With Apache Karaf(I'm using karaf as a client OSGi framework), this can be accomplished by creating a file $KARAF_ROOT/etc/org.apache.cxf.dosgi.discovery.zookeeper.cfg
What is still missing, is eclipse integration. I'm using bnd tools to launch my application during development but I have no idea
so far how to tell bnd tools / eclipse configuration above?!?!?!
Eclipse integration can be done by utilizing felix fileinstall bundle (comes with the cxf dosgi).
Create a directory named "load/" in your projects root and place a file named org.apache.cxf.dosgi.discovery.zookeeper.cfg