Run Modes | Community
Skip to main content
narayanank84409
New Participant
October 16, 2015
Solved

Run Modes

  • October 16, 2015
  • 2 replies
  • 805 views

Hi 

We can configure run modes like 

1. Renaming the jar file.

2. Using Sling properties we can achieve.

3. Java startup time we can do.

If i rename the jar, all the bundles will be there in two of the instances.

If i create folder config.author as nt:folder and inside that am creating sling:osgiConfig for some bundle.

Doubt :

1. What will be the difference between these creation of new bundle and existing bundle in osgi.

2. Which is having higher priority?

3. Is there any particular reason why we are achieving like this?

4. Any advantage?

Please help me to understand this concept.

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 Lokesh_Shivalingaiah

If you create a folder 'Config.author'. All the configs within this folder will be created only if the aem instance is started with 'author' runmode.

for the configs, anything under /apps will take the priority (https://docs.adobe.com/docs/en/cq/5-6-1/deploying/configure_runmodes.html#Starting CQ with a specific run mode)

We do this if we have a different configs on each of the instance like author or publish. Also to control the deployment of those configs on to a specific instance

2 replies

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
New Participant
October 16, 2015

If you create a folder 'Config.author'. All the configs within this folder will be created only if the aem instance is started with 'author' runmode.

for the configs, anything under /apps will take the priority (https://docs.adobe.com/docs/en/cq/5-6-1/deploying/configure_runmodes.html#Starting CQ with a specific run mode)

We do this if we have a different configs on each of the instance like author or publish. Also to control the deployment of those configs on to a specific instance

Lokesh_Shivalingaiah
New Participant
October 16, 2015

This would also help you in understanding the advantage of using runmode config folders

http://adobeaemclub.com/osgi-configuration-management-aem/