Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

0 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