Expand my Community achievements bar.

SOLVED

Set Read preference for mongoDB

Avatar

Level 6

I am using JBoss app server for aem author with mongodb as repository. I want to set the read preference for mongodb. How do i set it from AEM  web.xml

1 Accepted Solution

Avatar

Correct answer by
Level 10

Here is a good community article that will help you with AEM and MongoDB:

http://cq-ops.tumblr.com/post/86895378084/how-to-run-aem-6-0-with-mongodb-2-6

To learn how to set read preferences - see:

http://docs.mongodb.org/manual/core/read-preference/

Hope these help you! 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Here is a good community article that will help you with AEM and MongoDB:

http://cq-ops.tumblr.com/post/86895378084/how-to-run-aem-6-0-with-mongodb-2-6

To learn how to set read preferences - see:

http://docs.mongodb.org/manual/core/read-preference/

Hope these help you! 

Avatar

Level 6

http://jackrabbit.apache.org/oak/docs/osgi_config.html

I saw that we can send readPreference as parameter to oak.uri. I want to know how can we send in web.xml file of aem.war