Bug 91 - 404 response missing for a setup with no webapps/ROOT directory BugRat Report#67
Summary: 404 response missing for a setup with no webapps/ROOT directory BugRat Report#67
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 3
Classification: Unclassified
Component: Servlet (show other bugs)
Version: 3.2.1 Final
Hardware: All All
: P1 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-09-04 08:38 UTC by Laurent Salle
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomcat Developers Mailing List 2000-09-04 08:38:54 UTC
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.
Comment 1 Marc Saegesser 2001-02-07 17:30:51 UTC
PrefixMapper.getLongestPrefixMatch() would spin forever if there was no 
matching prefix and no ROOT context.  This now returns a 404 error.