sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "frederic rougeot (JIRA)" <>
Subject [jira] [Commented] (SLING-7457) Poor documentation on mongoDB or other NOSQL use
Date Wed, 31 Jan 2018 17:04:00 GMT


frederic rougeot commented on SLING-7457:

I tried first with OAk Segment Tar and it is OK for me.

The next step was using MongoDB.

I said in previous comment It was OK now, but it is not the case right now ...

I checked that the sling database is created in mongodb, it is OK and I thought everything
was fine.

But now I got the following HTTP 403 ... when accessing to http:/localhost:8080 just to see
how sling react now it is linked with mongodb ...

Once again, I think the documentation should help !

h1. Forbidden (403)

The requested URL resulted in an error in
h3. Request Progress:

0 TIMER_START\{Request Processing} 0 COMMENT timer_end format is \{<elapsed msec>,<timer
name>} <optional message> 0 LOG Method=GET, PathInfo= 0 TIMER_START\{ResourceResolution}
2 TIMER_END\{2,ResourceResolution} URI= resolves to Resource=NoSqlResource, type=nt:unstructured,
superType=null, path=/ 2 LOG Resource Path Info: SlingRequestPathInfo: path='/', selectorString='null',
extension='null', suffix='null' 2 TIMER_START\{ServletResolution} 2 TIMER_START\{resolveServlet(NoSqlResource,
type=nt:unstructured, superType=null, path=/)} 2 TIMER_END\{0,resolveServlet(NoSqlResource,
type=nt:unstructured, superType=null, path=/)} Using servlet
2 TIMER_END\{0,ServletResolution} URI= handled by
3 LOG Applying Requestfilters 3 LOG Calling filter:
3 LOG Calling filter: 3 LOG Applying Componentfilters
3 TIMER_START\{} 3 LOG Using
to render for extension=null 5 LOG Applying Error filters 5 LOG Calling filter:
5 TIMER_START\{handleError:status=403} 40 TIMER_END\{35,handleError:status=403} Using handler 41 TIMER_END\{41,Request
Processing} Dumping SlingRequestProgressTracker Entries

> Poor documentation on mongoDB or other NOSQL use
> ------------------------------------------------
>                 Key: SLING-7457
>                 URL:
>             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: []
> So I tried to launch the starter application with the following lines:
> java,oak_mongo -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 []
> 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 [,] there
is another launchpad to use.
> There is the link to the source code:
> 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 ...
> 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

View raw message