Hello
Has anyone else run into this problem before?
I'm seeing a huge amount of requests (< 1000 requests per hour) for the servlet 404 error page by our app monitoring tool (AppDynamics). The servlet 404 page is the one configured in the web.xml under
<error-page>
<error-code>404</error-code>
<location>/WEB-INF/jsp/errorpages/ErrorPage404.jsp</location>
</error-page>
The strange thing is that our Hippo logs do not show these requests and our monitoring tool does not show any referrer in the HTTP header for these requests unlike other requests.
Our load balancer will not allow direct requests to this page either. Instead our site uses a normal hst:Page configured in sitemap items for 404 not found responses. So we should never see any requests for this default servlet 404 page defined in the web.xml. This makes me wonder if internally there's a redirect happening in Hippo that would trigger a request to this web.xml 404 error page as seen by our monitoring tool but not by the hippo logs. For instance, is it possible that once a user goes to our site's custom 404 hst:Page that internally Hippo sees the 404 response we're sending and internally triggers a second request to the web.xml's servlet 404 page as well? This or some variation is one possibility I've come up with.
The second possibility is that these requests are for missing images. I've noticed that any request for an image not found in the CMS does indeed return the web.xml's servlet 404 page. I understand this is because images are served by a separate "binaries" servlet which is a different servlet that is used for normal hst requests to the site. So I'm wondering if this huge amount of requests for the servlet 404 error page are just requests for images that are not found.
Unfortunately, our app monitoring tool does not provide any additional information to correlate either of these two possibilities. In fact, the monitoring tool only tells us we have > 1K requests per hour for the servlet 404 error page but nothing more.
Has anyone else run into this problem before? Do either of the two scenarios I've laid out sound plausible or is there another possibility I've overlooked?
We're using Hippo 7.9.7.
If any additional information is needed, such as an export of the sitemap or anything else, please let me know.
Thank you,
Josh