ExternalizerImpl OSGi Config Not Updating
Hi everyone,
I'm running into an issue with updating the com.day.cq.commons.impl.ExternalizerImpl configuration in AEM (local author instance). I’ve created a runmode-specific config file at:
/apps/my-site/config.qa.author/com.day.cq.commons.impl.ExternalizerImpl.xml
Here’s the content of the XML:
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root
xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OsgiConfig"
externalizer.jhinvestments="https://qa-my-site.com/"/>After deploying this, I expected the ExternalizerImpl config to reflect the new domains. However, when I check /system/console/configMgr/com.day.cq.commons.impl.ExternalizerImpl, it still shows the default domains:
- local: http://localhost:4502
- author: http://localhost:4502
- publish: http://localhost:4503
Even if I manually delete the config via the OSGi console, it reverts back to these defaults.
I’ve confirmed:
- The runmodes are correctly set (qa, author)
- The config is deployed to the correct path
- The XML is valid and uses the correct externalizer.<domain> format
- No other conflicting configs exist in other runmode folders (as far as I can tell)
Has anyone encountered this before? Is there something I’m missing in terms of overriding the default Externalizer domains?
