Return to site

AEM: Duplicate OSGi Configs

I have see a lot of implementations run into this problem. If it is one or two config entries then we can delete the duplicates, but when almost every config is duplicated, it becomes a challenge to identify what should be deleted.

There are only 3 possibilities for duplicate config(s)

1. Originating from code deployments

2. Duplicate entries under /apps/system/config.{runmode}

3. Entries inside crx-quickstart/launchpad/config/

If the issue is happening because of the first two reasons, then it is easy to fix. 3rd one is little challenging and wrote something custom to overcome this problem. The approach I took is to identify entries used by OSGi and comparing it with what is in launchpad and deleting what is not used by OSGi.

All Posts
×

Almost done…

We just sent you an email. Please click the link in the email to confirm your subscription!

OK