You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2019/04/15 11:19:00 UTC

[jira] [Resolved] (OAK-8239) Fail in getting started

     [ https://issues.apache.org/jira/browse/OAK-8239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved OAK-8239.
-----------------------------------
    Resolution: Not A Problem

Please use the mailing list to ask questions. See: http://jackrabbit.apache.org/jcr/mailing-lists.html

The exception you see, indicates that you are most likely using a MongoDB Java Driver that doesn't match the version expected by Oak 1.10.x. The driver version should be 3.8.x.

> Fail in getting started 
> ------------------------
>
>                 Key: OAK-8239
>                 URL: https://issues.apache.org/jira/browse/OAK-8239
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: api
>    Affects Versions: 1.10.2
>            Reporter: Karim Hamdi
>            Priority: Major
>              Labels: newbie
>         Attachments: Screen Shot 2019-04-12 at 5.46.53 PM.png, Screen Shot 2019-04-12 at 5.55.33 PM.png
>
>
> Hi the Oak team,
>  
> We are looking to use Appache Oak as Content Management System in our project.
> Looking at what Oak is capable of make us really interested and we want to try it.
> The problem is that the Getting Started page is not up to date for the 1.10.2 version (Last Stable release) we think.
>  
> For example in the repository Construction. We want to use a MongoDB Backend, the problem is that the methode _getDB_ is *deprecated*
> DocumentMK is not available anymore in the plugings of Oak core. I found a [Jira ticket|https://jira.apache.org/jira/browse/OAK-7023?jql=text%20~%20%22DocumentMK%22] that says it is now Deprecated and that we should use MongoDocumentNodeStoreBuilderbut without any more notice.  
> I tried  this:
> {color:#707070}_DocumentNodeStore ns1 = MongoDocumentNodeStoreBuilder.newMongoDocumentNodeStoreBuilder().setMongoDB("mongodb://localhost:27017", "test1234", 0).build();_{color}
> But I get the exception in the attach files.
>  
> Is there any Up to Date or even some others tutorial we can use to get started with Oak ?
>  
> With the Best regards,
>  
> Karim Hamdi



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)