a babudb usage implementation

16 views
Skip to first unread message

luc peuvrier

unread,
Apr 10, 2012, 3:27:57 AM4/10/12
to babudb

Jan Stender

unread,
Apr 10, 2012, 4:49:01 AM4/10/12
to bab...@googlegroups.com
Hi Luc,

do you have an idea when/where in the code it stops?

Best regards,
Jan

luc peuvrier

unread,
Apr 10, 2012, 11:43:51 AM4/10/12
to bab...@googlegroups.com
Hi Jan,

No idea. I have not trace nor messages.

Best regards
Luc

2012/4/10 Jan Stender <ste...@zib.de>

Jan Stender

unread,
Apr 10, 2012, 12:44:28 PM4/10/12
to bab...@googlegroups.com
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
Test.java

luc peuvrier

unread,
Apr 10, 2012, 10:27:20 PM4/10/12
to bab...@googlegroups.com
Hi Jan,

Activate babudb debug log was very helpfull for me: I made a mistake with my application logging.

It stop because application gracefully end and no problems with babudb, it works.
Reply all
Reply to author
Forward
0 new messages