Misleading documentation on run modes & their order of precedence | Community
Skip to main content
Level 2
March 11, 2016
Solved

Misleading documentation on run modes & their order of precedence

  • March 11, 2016
  • 1 reply
  • 941 views

The documentation on this URL(https://docs.adobe.com/docs/en/aem/6-1/deploy/configuring/configure-runmodes.html) says the below: 

There are several methods for specifying which run mode to use; the order of resolution is:

  1. sling.properties file
  2. -r option
  3. system properties (-D)
  4. Filename detection

Where as this article(https://helpx.adobe.com/experience-manager/kb/RunModeSetUp.html) says as below. Both from the official adobe site. Which is correct?

Behavior when run modes are specified more than one way

The run mode specified in the naming of the jar file takes precedence. If run modes are not specified in the naming of the jar file, the values in the sling.properties file are used. If run modes are not specified in either the naming of the jar file or the sling.properties file, the system property (or JVM argument) is used.

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 Sham_HC

Hi Guruprasad,

Thanks for feedback.

  • Documentation is right & kb  needs update.  
  • Always applied run modes can be verified in felix console http://<host>:<port>/system/console/config in tab "Sling Settings".
  • Also you might need to delete the sling.options.file found under crx-quickstart/launchpad/*  in case you are not seeing the behavior as per doc.

Can you please file daycare case to track this out?

Thanks,

1 reply

Sham_HC
Sham_HCAccepted solution
Level 10
March 11, 2016

Hi Guruprasad,

Thanks for feedback.

  • Documentation is right & kb  needs update.  
  • Always applied run modes can be verified in felix console http://<host>:<port>/system/console/config in tab "Sling Settings".
  • Also you might need to delete the sling.options.file found under crx-quickstart/launchpad/*  in case you are not seeing the behavior as per doc.

Can you please file daycare case to track this out?

Thanks,