Set Read preference for mongoDB | Community
Skip to main content
selvaganesh
Level 5
October 16, 2015
Solved

Set Read preference for mongoDB

  • October 16, 2015
  • 2 replies
  • 973 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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! 

2 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

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! 

selvaganesh
Level 5
October 16, 2015

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