From a fresh tomcat installation, if you delete all webapps/*.war files $lynx http://localhost:8080 will hang forever without 404 response. Instead, a new process for each request will eat CPU time.
PrefixMapper.getLongestPrefixMatch() would spin forever if there was no matching prefix and no ROOT context. This now returns a 404 error.