We currently use 3.3.x. We should upgrade to the 3.4.x branch.
Zookeeper 3.4.x is not OSGi compliant - MANIFEST.MF is flawed
Upgraded to zookeeper 3.4.1
The same fix you did for  (the class org.apache.zookeeper.server.NIOServerCnxn is not available in 3.4.x anymore) should be also done for  as well, as currently trunk doesn't compile (I'm afraid Hadrian right now is in the middle of the release).
Or am I wrong?
Thanks Babak, I will look into it.
A fix has been committed to trunk.
Due to osgi pain lets move this after the 2.9.0 release.
We get really weird osgi problems with zookeeper 3.4.x and whatnot.
The problem is the Zookeeper distribution. I have logged a JIRA
The Zookeeper have still not listen. We are about 1 year later, and they keep releasing Zookeeper with flawed OSGi meta-data, despite a fix is fairly easy.
Zookeeper 3.4.6 has some OSGi fixes so hope they get it released.
We have upgraded to 3.4.x