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:
Even if I manually delete the config via the OSGi console, it reverts back to these defaults.
I’ve confirmed:
Has anyone encountered this before? Is there something I’m missing in terms of overriding the default Externalizer domains?
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
I switched to using cfg.json (not xml) and it's working now.
{
"externalizer.domains": [
"my-site https://qa-my-site.com/",
]
}
Hi @stiegjo22
Are you using AEMaaCS or AEM 6.5?
Custom runmode(e.g. qa) are not supported in AEMaaCS.
I switched to using cfg.json (not xml) and it's working now.
{
"externalizer.domains": [
"my-site https://qa-my-site.com/",
]
}