Running AEM in Production Ready Mode


How to run AEM instance in Production ready Mode.

In order to run AEM in production ready mode all you need to do is add the nosamplecontent via the -r runmode switch to your existing startup arguments:

Production readymode/nosamplecontent runmode without ant Database:
java -jar aem-quickstart.jar -r nosamplecontent

Production readymode/nosamplecontent runmode with database :

java -jar aem-quickstart.jar -r author,crx3,crx3mongo,nosamplecontent
-Doak.mongo.uri=mongodb://remoteserver:27017 -Doak.mongo.db=aem-author

Difference between Dafault runmode and nosamplecontent runmode
file

Performance TUNING as part of production ready instances

More specifically, the following configuration changes will be performed when AEM is ran in production ready mode:
  1. The CRXDE Support bundle (com.adobe.granite.crxde-support) is disabled by default in production ready mode. It can be installed at any time from the Adobe public Maven repository. Version 3.0.0 is required for AEM 6.1.
  2. The Apache Sling Simple WebDAV Access to repositories (org.apache.sling.jcr.webdav) bundle will only be available on author instances.
  3. Newly created users will be required to change the password on the first login. This does not apply to the admin user.
  4. Generate debug info is disabled for the Apache Java Script Handler.
  5. Mapped content and Generate debug info are disabled for the Apache Sling JSP Script Handler.
  6. The Day CQ WCM Filter is set to edit on author and disabled on publish instances.
  7. The Adobe Granite HTML Library Manager is configured with the following settings:
    1. Minify: enabled
    2. Debug: disabled
    3. Gzip: enabled
    4. Timing: disabled
  8. The Apache Sling GET Servlet is set to support secure configurations by default, as follows:

ConfigurationAuthorPublish
TXT renditiondisableddisabled
HTML renditiondisableddisabled
JSON renditionenabledenabled
XML renditiondisableddisabled
json.maximumresults1000100
Auto Indexdisableddisabled

/CRX/DE lite console doesn't shows tree nodes Hierarchy

Statement : CRX/DE lite console shows Blank.

Solution :


  1. Go to the FLeix console  /system/console/configMgr 
  2. Search for config "Apache Sling DavEx Servlet
  3. And set /server to /crx/server
  4. Save the changes.
  5. go back the crx/de lite console and vlaidate.



Note : running AEM in Production Ready Mode will effectively disable access to CRXDE Lite on author instances.