Sling mapping issue in Production Publish 2
There was an issue with short url mapping in Production Publish 2 instance for one of our site where we had the mapping under /etc/map/https/www.xyz.com. The short URL was resolving in Prod publish 1 instance whereas it was not resolving in Publish 2.
Due to this, when the pages are accessed pages from the site, 404 page not found was coming up occasionally (whenever the request hits dispatcher 2 which points to publish 2). We tried the following steps to resolve the issue. Package /etc/map/https/www.xyz.com and /etc/map/http/www.xyz.com from Publish 1 and installed it in Publish 2 – Issue was not resolved. We restarted the following 2 bundles – The issue was resolved. Apache Sling JCR Resource Resolver org.apache.sling.jcr.resource Apache Sling Resource Resolver org.apache.sling.resourceresolver The issue was resolved but we are unable to determine the root cause of this issue. So that we could prevent this kind of issue from occurring again in production environment.
Any idea what could have caused this issue?