[Bug 41007] Can't define customized 503 error page

2022-03-15 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=41007

--- Comment #12 from Mark Thomas  ---
Back-ported to 8.5.x for 8.5.78 onwards

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 41007] Can't define customized 503 error page

2018-02-14 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=41007

Mark Thomas  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Mark Thomas  ---
The ability to specify a static error page for given status codes and/or
exception types has now been added to the ErrorReportValve. It will be included
in 9.0.6 onwards.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 41007] Can't define customized 503 error page

2018-02-08 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=41007

--- Comment #10 from Mark Thomas  ---
A quick update.

I believe the refactoring to enable the application/container error handling to
handle error reporting is complete. The errors that aren't processed this way
are:
- any error that is so severe it requires the immediate closure of the network
connection
- any error that occurs after the request/response has left the standard
processing pipeline (i.e. once it is too late for the application error
handling or the ErrorReportValve to do anything).

This has only been completed for 9.0.x and - given the refactoring involved -
is unlikely to be back-ported.

Next up is extended in the ErrorReportValve to enable static pages to be used
for given errors.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 41007] Can't define customized 503 error page

2018-02-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=41007

Andy Wilkinson  changed:

   What|Removed |Added

 CC||awilkin...@pivotal.io

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 41007] Can't define customized 503 error page

2018-01-26 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=41007

--- Comment #9 from Mark Thomas  ---
No worries. I've written far worse in my time.

Fixing this is turning up all sorts of interesting edge cases. I'm actually
quite enjoying tackling it.

This is one I've kept coming back to from time to time but hadn't - until this
time - found a way of tackling it that I was happy with. The clean up to the
connector code that we've done since this was first raised back in the days of
5.x has certainly helped.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 41007] Can't define customized 503 error page

2018-01-26 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=41007

--- Comment #8 from Veit Guna  ---
After a decade, reading my posts is embarassing in terms of politeness. My
apologies. A little late - but better than never. Thanks you for finally
looking into this :)!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 41007] Can't define customized 503 error page

2018-01-26 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=41007

--- Comment #7 from Mark Thomas  ---
A decade plus on from when this was opened I'm planning on implementing a
solution for this. The overall plan is:

- Pass errors that happen early in the processing chain to the app / the
  container to handle where we can

- Extend the ErrorReportValve to allow static pages to be defined for error
  codes and/or Exceptions.

Progress so far is (all in 9.0.x):
- I have refactoring the processing chain so we can pass errors.
- I have started to refactor the handling of individual errors to pass them
when the
  occur.

This last point is throwing up various edge cases. Currently I am working on
JSPs, TRACE and OPTIONS handling. I'm expecting the refactoring of the
individual error cases to take a little while to sort out.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 41007] Can't define customized 503 error page

2011-12-20 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=41007

Mark Thomas  changed:

   What|Removed |Added

  Component|Catalina|Catalina
Version|5.5.20  |unspecified
Product|Tomcat 5|Tomcat 7

--- Comment #6 from Mark Thomas  2011-12-20 20:35:11 UTC ---
This Tomcat 5 enhancement request has been moved to Tomcat 7 (the latest
version) since Tomcat 5 development is limited and focussed on bugs and
security issues whereas Tomcat 7 is still seeing new feature development.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 41007] - Can't define customized 503 error page

2006-11-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41007


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|major   |enhancement
 Status|RESOLVED|REOPENED
  Component|Unknown |Catalina
 OS/Version|other   |All
   Platform|Other   |All
 Resolution|INVALID |
Version|5.0.16  |5.5.20




--- Additional Comments From [EMAIL PROTECTED]  2006-11-20 15:14 ---
To register this an enhancement request, I have re-opened this issue and set the
severity to enhancement. I also set a few other attributes.

Why is it like this? The current approach works and no one has felt the need to
change it.

Obviously, enhancement requests with patches that implement them are more likely
to make it into the codebase.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 41007] - Can't define customized 503 error page

2006-11-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41007





--- Additional Comments From [EMAIL PROTECTED]  2006-11-20 15:00 ---
I assumed there was an implied question "How do I set a global 503 error page?".

The reply to your post on the users list points you towards how to customise
this to use your own page.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 41007] - Can't define customized 503 error page

2006-11-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41007





--- Additional Comments From [EMAIL PROTECTED]  2006-11-20 14:40 ---
I didn't find any question mark in my sentences, did you?

On the mailing list they say, it's hardcoded. It's surely no bug - but where can
I put feature requests then?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 41007] - Can't define customized 503 error page

2006-11-21 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41007


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-11-20 13:48 ---
Bugzilla is not the forum to ask questions. Please post your question to the
Tomcat users mailing list.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]