Giovanni,
Here's the code in my project (meta64.com) which shows an example of
initializing and terminating Oak on mongodb.

<goog_2009409774>
https://github.com/Clay-Ferguson/meta64/blob/master/src/main/java/com/meta64/mobile/repo/OakRepository.java

If that code doesn't help, post the stack trace of the exception you're
getting, and i'll look at it.

Best regards,
Clay Ferguson
wcl...@gmail.com


On Wed, Sep 21, 2016 at 5:33 AM, Giovanni L <sea17...@hotmail.com> wrote:

> Hi, I just upgraded OAK from 1.5.4 to 1.5.10, and noticed a mongodb related
> startup problem.
> More precisely, when doing my
> new DocumentMK.Builder().setMongoDB(db)
> where the MongoDocumentStore is created, there's a call to a "serverStatus"
> command that seems to fail, because mongodb user is not authorized to do
> that.
> I didn't find any documentation on what kind of user I should have on
> mongodb to run oak, but mine looks good, since has a "root" role on the
> "admin" database.
> Do you have any hint on what I should do to get it back working?
>
> Thanks a lot.
> Giovanni
>
>
>
> --
> View this message in context: http://jackrabbit.510166.n4.
> nabble.com/serverStatus-command-fials-on-mongodb-tp4664836.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>

Reply via email to