You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Oliver Lietz (JIRA)" <ji...@apache.org> on 2018/01/31 16:17:00 UTC

[jira] [Commented] (SLING-7457) Poor documentation on mongoDB or other NOSQL use

    [ https://issues.apache.org/jira/browse/SLING-7457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16347077#comment-16347077 ] 

Oliver Lietz commented on SLING-7457:
-------------------------------------

Please try with Oak Segment Tar if you are new to Sling.

For help or discussions use our [mailings lists|https://sling.apache.org/project-information.html#mailing-lists].

> Poor documentation on mongoDB or other NOSQL use
> ------------------------------------------------
>
>                 Key: SLING-7457
>                 URL: https://issues.apache.org/jira/browse/SLING-7457
>             Project: Sling
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: frederic rougeot
>            Priority: Major
>
> I am evaluating sling.
> I succeed in setting it up and it works as I thought, seems to be a very valuable product for those who want to rapidlly build a software that relies on JCR, which is my case.
> But the next question is "Should I use a noSQL Database or not". As it may be an important choice, since Sling is not really compatible with SQL database, I wanted to make sling run with MongoDB.
> I read the documentation, and at first impression, it seemed quite immediate; I simply have to add an option to change the mode of launching the starter application, as it is said in the following documentation: [https://sling.apache.org/documentation/the-sling-engine/the-sling-launchpad.html]
>  
> So I tried to launch the starter application with the following lines:
> java -Dsling.run.modes=oak,oak_mongo -jar org.apache.sling.starter-10-SNAPSHOT.jar
> and checked with a mongodb client if a mongodb server was started or not ...
> As I was unable to connect to mongodb://localhost:27017 I guess something is missing, maybe mongodb should be installed separetely ? 
>  
> I continue reading the documentation, and find [https://sling.apache.org/documentation/bundles/nosql-resource-providers.html]
> OK, my conclusion was I missed to install the nosql-resource-providers, so I installed the bundle and check again ...
> Nothing new, it seems I have done nothing.
> So, always according to [https://sling.apache.org/documentation/bundles/nosql-resource-providers.html,] there is another launchpad to use.
> There is the link to the source code: https://github.com/apache/sling-old-svn-mirror/tree/trunk/contrib/nosql/launchpad
> But it is said that this source repository is obsolete and shall not be used.
> So I get back to apache git repository, and filtered on "sling" and "nosql", I can find some code now ...
> https://github.com/apache?utf8=%E2%9C%93&q=sling+nosql&type=&language=
> But it is absolutely not clear to me whether I have to do something with that modules or not ...
> So my real problem is I can't get the right documentation on "How to setup Sling 9 to work with mongodb" and there is, as far as I know, no forum where I can ask this to a community to help.
> I guess sling is working well with mongoDB, but if I need 10 days to set it up (I spend 1 day, maybe it is not enough) my point of view is made: I won't use mongodb.
> But this maybe a terrible mistake !
>  
> So help please !
>  
>  
>  
>  
>  



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