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.

How to perform web accessibility for any site

Statement - How to perform the Web accessibility test for any site.

Solution :

Use online tools to check the website accessibility:




Web accessibility can performed on below parameters:

  1. Web page URL
  2. HTML file upload
  3. HTML Markup


Check Accessibility By:
 
   

Guidelines to Check Against

   
   
   

Report Format





  • Post the click on check it button , below results shown with solutions to be implemneted.

Accessibility Review

Accessibility Review (Guidelines: WCAG 2.0 (Level AA))

            


1.1 Text Alternatives: Provide text alternatives for any non-text content


Success Criteria 1.1.1 Non-text Content (A)


Check 1: img element missing alt attribute.
Repair: Add an alt attribute to your img element.
Error Line 176, Column 25:

Error Line 196, Column 25:

Error Line 217, Column 25:

1.4 Distinguishable: Make it easier for users to see and hear content including separating foreground from background.


Success Criteria 1.4.4 Resize text (AA)


Check 117: i (italic) element used.
Repair: Replace your i elements with em or strong.
Error Line 279, Column 24:
TIVICAY ®

Report Generation :


  1.  Result can be exported into pdf/HTML/CSV format.
  2. Report can be exported based on the type of accessibility validation(ex: CSS validation errors report, HTML validations ,likely , known and potential valdiations)

Other Online tools for web page accessibility online testing


Steps to be followed:
  1. Key in the website URL and click on test.
  2. It shows Test results
  3. You can download the report
  4. You can view the best practices and instances of failure as per web accessibility standard.
  5. you can also see the total compliance % of your site for Accessibility check refer the below screenshot.

     6. Sample download report in .xls format. refer the instance details to fix the missing details


     7. That's It!.