Hi @stiegjo22 ,
Sometimes it happens and restart of AEM is required to apply this change. Try to restart AEM publishers, but double-check that OSGi configuration for org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl with correct resource.resolver.map.location is present in right place.
In addition, I would suggest to restructure your /etc/map configurations in the following way:
- Create env-specific folders with /etc/mapping
- /etc/map.publish.local - for local environments
- /etc/map.publish.dev - for dev environment
- /etc/map.publish.qa - for QA environment
- /etc/map.publish.stage - for staging environment
- /etc/map.publish.prod - for production environment
- Create OSGi configuration for org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl for every env specific runmode and configure resource.resolver.map.location to the relevant /etc/map mapping:
- publish.dev - resource.resolver.map.location="/etc/map.publish.dev"
- publish.prod - resource.resolver.map.location="/etc/map.publish.prod"
Best regards,
Kostiantyn Diachenko.