Hi Luc,
without any additional information, it will be hard to track down
the problem, especially since I don't know anything about your
application. What exactly are the symptoms that make you believe
that your application "stops"? Does it stop in response to some sort
of user interaction that causes a lookup or update in the database,
or does it simply fail to terminate all threads after having
executed your code? Did your problem occur on a running system, or
can you reproduce it as part of a test run?
BabuDB is capable of producing logging output that may help to get a
clearer notion of your problem. You can enable full logging (which
includes almost anything...) by adding
org.xtreemfs.foundation.logging.Logging.start(Logging.LEVEL_DEBUG);
whereever you start up your application.
Btw, to ensure that no obvious steps in your BabuDB initialization
are missing, I ran a code snippet, which roughly executes the code from your 'startServiceImpl'
method. As expected, it passed without any problems on my machine.
Best regards,
Jan