Expand my Community achievements bar.

SOLVED

Run Modes

Avatar

Level 4

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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

Avatar

Level 10

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

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