I just provided an initial patch on ZOOKEEPER-425 to solicit some feedback. The comment in JIRA has the details.
David 2009/11/11 Benjamin Reed <br...@yahoo-inc.com>: > david, it should be pretty easy to do since we do it in our test cases. > (start and stop servers.) the problem is that we haven't really exposed the > interfaces. (but we have wanted to.) and we don't have tests for those > non-existent exposed interfaces :) with a clean interface it should be > pretty easy to get rid of the System.exits. > > ben > > dav...@apache.org wrote: >> >> Ok - I get the message :) >> Let me see if I can do some experimenting around running the zookeeper >> server in OSGi and I'll report back... >> >> David >> >> 2009/11/10 Patrick Hunt <ph...@apache.org> >> >>> >>> I couldn't find a JIRA for removing the sys exits so I created one: >>> https://issues.apache.org/jira/browse/ZOOKEEPER-575 >>> >>> there's also this which seems like it should be easy for someone >>> who knows osgi container jar format requirements: >>> https://issues.apache.org/jira/browse/ZOOKEEPER-425 >>> >>> Now we just need to find someone who's interested and who would really >>> like to run the server in his osgi container to work on these... (hint hint) >>> ;-) >>> >>> Patrick >>> >>> Ted Dunning wrote: >>> >>>> >>>> Running ZK in an OSGi container is a great idea and should be really >>>> easy to >>>> make happen. >>>> >>>> This should be a new JIRA, in my opinion. >>>> >>>> On Mon, Nov 9, 2009 at 12:10 PM, <dav...@apache.org> wrote: >>>> >>>> >>>>> >>>>> Just wondering has any progress been made on this since? I would really >>>>> like >>>>> to run the ZooKeeper server as a bundle in my OSGi container. Is there >>>>> a >>>>> JIRA to track this? If not I can create one :) >>>>> >>>>> >>>> >>>> > >