You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Igor Bogomolov <ig...@gmail.com> on 2013/08/09 18:02:04 UTC

MongoDB check

Dear Oak developers,

I am trying to use Oak with Sling. To be able to do that, I have
installed some oak bundles:
  oak-core
  oak-commons
  oak-mk
  oak-mk-api
  oak-jcr
  com.google.guava

But after that in /system/console/components there are 2 components
org.apache.jackrabbit.mk.osgi.MicroKernelService and
org.apache.jackrabbit.oak.plugins.mongomk.MongoMicroKernelService
which are unsatisfied.

The 2nd one has db configuration in properties:
db = oak
host = localhost
port = 27017

How can I check that instance of MongoDB is indeed up and running in
the OSGi container?

Thank you,
Igor

Re: MongoDB check

Posted by Igor Bogomolov <ig...@gmail.com>.
Hi Thomas,

Thank you for your reply! Could you please give me any documentation,
hints or examples on how to use Tar storage. I assume that just
stopping MicroKernel bundles won't work.

Currently I am trying to adopt oak-server from [1] in the Sling project.

Regards,
Igor

[1] http://svn.apache.org/repos/asf/sling/whiteboard/ieb/oak/server/

On Mon, Aug 12, 2013 at 8:41 AM, Thomas Mueller <mu...@adobe.com> wrote:
> Hi,
>
> I don't know too much about OSGi so I couldn't tell you how to configure
> it exactly, but:
>
> The probably easiest way to run Oak is to use the Tar storage
> (SegmentNodeStoreService), that means you don't need the
> MicroKernelService (which requires the H2 database as far as I know) nor
> the MongoMicroKernelService (which requires a running MongoDB instance).
> Unless, of course, you want to explicitly persist data in MongoDB or H2.
>
> But you should consider adding oak-lucene for the full-text index (or
> oak-solr*, but that's more complicated I guess as you need Apache Solr).
>
> Regards,
> Thomas
>

Re: MongoDB check

Posted by Thomas Mueller <mu...@adobe.com>.
Hi,

I don't know too much about OSGi so I couldn't tell you how to configure
it exactly, but:

The probably easiest way to run Oak is to use the Tar storage
(SegmentNodeStoreService), that means you don't need the
MicroKernelService (which requires the H2 database as far as I know) nor
the MongoMicroKernelService (which requires a running MongoDB instance).
Unless, of course, you want to explicitly persist data in MongoDB or H2.

But you should consider adding oak-lucene for the full-text index (or
oak-solr*, but that's more complicated I guess as you need Apache Solr).

Regards,
Thomas