Bug 29851 - Handling of error reports
Summary: Handling of error reports
Status: RESOLVED DUPLICATE of bug 29846
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 5.0.25
Hardware: Other All
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-28 20:17 UTC by Jens Mueller
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 Jens Mueller 2004-06-28 20:17:16 UTC
And there seems to be a bug with the handling of error reports.

For every status-code greater than 400, tomcat generates a html-message wich 
will be send to the client.

If you set a status-code in a sevlet, wich is not listed in 
org.apache.catalina.valves.LocalStrings.properties (999 for example), the html-
message looks like this:

HTTP Status 999 - Cannot find message associated with key '999'.

( org.apache.catalina.util.StringManager.getStringInternal() - in the catch-
block null could be a better return value )

In my configuration I use tomcat with apache and mod_jk 1.2.5.
Comment 1 Remy Maucherat 2004-06-28 20:22:55 UTC

*** This bug has been marked as a duplicate of 29846 ***