Re: Removing the default server error pages

2005-06-15 Thread Bernard
Hi Rob, I have the same problem as you have. I can tell you what I did but it is not as good as I want it to be. Maybe others will help us with a better solution. So I wrote SilentErrorValve.java. This is insufficient because one has to have a response otherwise (in my case with apache httpd amd

Removing the default server error pages

2005-06-15 Thread Robert Clarkson
Hi there, I am using tomcat 5.5 as an RTSP server, and I need to send response codes back, but I do not need to send any HTML response back. I know that I can change the response page that is returned by editing web.xml and adding the following 404 /index.html But what I need is to pr

Autoreply: DO NOT REPLY [Bug 29620] - Error Pages Aren't Run Through Filters

2004-06-18 Thread photoartworld
You have received this email for one of two reasons. One is that you or someone with your email address in their address book is infected with an email virus, and this virus was emailed to me. The other reason could be that you legitimately tried to contact me through on

DO NOT REPLY [Bug 29620] - Error Pages Aren't Run Through Filters

2004-06-18 Thread bugzilla
gzilla/show_bug.cgi?id=29620 Error Pages Aren't Run Through Filters --- Additional Comments From [EMAIL PROTECTED] 2004-06-18 17:35 --- Yes, it works fine (The Servlet Tcks has a couple of tests like that). Please follow up on tomcat-users. Thanks -- J

DO NOT REPLY [Bug 29620] - Error Pages Aren't Run Through Filters

2004-06-16 Thread bugzilla
gzilla/show_bug.cgi?id=29620 Error Pages Aren't Run Through Filters --- Additional Comments From [EMAIL PROTECTED] 2004-06-17 00:02 --- After adding in ERROR, I still don't see the error page being wrapped by the filter. I have just reviewed the spec, too. Her

DO NOT REPLY [Bug 29620] - Error Pages Aren't Run Through Filters

2004-06-16 Thread bugzilla
gzilla/show_bug.cgi?id=29620 Error Pages Aren't Run Through Filters --- Additional Comments From [EMAIL PROTECTED] 2004-06-16 18:31 --- Ah... that would explain it. Sorry for the trouble. Looks like I need to get better references. Thanks very much

DO NOT REPLY [Bug 29620] - Error Pages Aren't Run Through Filters

2004-06-16 Thread bugzilla
gzilla/show_bug.cgi?id=29620 Error Pages Aren't Run Through Filters [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED

DO NOT REPLY [Bug 29620] New: - Error Pages Aren't Run Through Filters

2004-06-16 Thread bugzilla
gzilla/show_bug.cgi?id=29620 Error Pages Aren't Run Through Filters Summary: Error Pages Aren't Run Through Filters Product: Tomcat 5 Version: 5.0.25 Platform: Other OS/Version: Other Status: NEW Severity: Normal

DO NOT REPLY [Bug 29583] - Filters not invoked on error pages

2004-06-15 Thread bugzilla
gzilla/show_bug.cgi?id=29583 Filters not invoked on error pages --- Additional Comments From [EMAIL PROTECTED] 2004-06-15 19:09 --- OK for the 2.4 specification and Tomcat 5, for the filters configuration that 2.3 specification doesn't address. But, why change the initial request and

DO NOT REPLY [Bug 29583] - Filters not invoked on error pages

2004-06-15 Thread bugzilla
gzilla/show_bug.cgi?id=29583 Filters not invoked on error pages [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Reso

DO NOT REPLY [Bug 29583] New: - Filters not invoked on error pages

2004-06-15 Thread bugzilla
gzilla/show_bug.cgi?id=29583 Filters not invoked on error pages Summary: Filters not invoked on error pages Product: Tomcat 4 Version: 4.1.24 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority:

DO NOT REPLY [Bug 29505] - Tomcat returns HTTP 500 when I use the JSP error pages mechanism

2004-06-10 Thread bugzilla
gzilla/show_bug.cgi?id=29505 Tomcat returns HTTP 500 when I use the JSP error pages mechanism [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RE

DO NOT REPLY [Bug 29505] New: - Tomcat returns HTTP 500 when I use the JSP error pages mechanism

2004-06-10 Thread bugzilla
gzilla/show_bug.cgi?id=29505 Tomcat returns HTTP 500 when I use the JSP error pages mechanism Summary: Tomcat returns HTTP 500 when I use the JSP error pages mechanism Product: Tomcat 5 Version: 5.0.25 Platform: PC OS/Version: Wind

DO NOT REPLY [Bug 28465] - Cannot use jsp error pages from servlets

2004-04-20 Thread bugzilla
gzilla/show_bug.cgi?id=28465 Cannot use jsp error pages from servlets --- Additional Comments From [EMAIL PROTECTED] 2004-04-20 13:30 --- I don't see anything difficult to understand: I understand your use case, and I consider

DO NOT REPLY [Bug 28465] - Cannot use jsp error pages from servlets

2004-04-20 Thread bugzilla
gzilla/show_bug.cgi?id=28465 Cannot use jsp error pages from servlets --- Additional Comments From [EMAIL PROTECTED] 2004-04-20 10:24 --- You don't agree with what? Do you mean that it's not common to set those attributes or that the pet store is not imple

DO NOT REPLY [Bug 28465] - Cannot use jsp error pages from servlets

2004-04-20 Thread bugzilla
gzilla/show_bug.cgi?id=28465 Cannot use jsp error pages from servlets [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Reso

DO NOT REPLY [Bug 28465] - Cannot use jsp error pages from servlets

2004-04-20 Thread bugzilla
gzilla/show_bug.cgi?id=28465 Cannot use jsp error pages from servlets [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Reso

DO NOT REPLY [Bug 28465] - Cannot use jsp error pages from servlets

2004-04-19 Thread bugzilla
gzilla/show_bug.cgi?id=28465 Cannot use jsp error pages from servlets [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Reso

DO NOT REPLY [Bug 28465] New: - Cannot use jsp error pages from servlets

2004-04-19 Thread bugzilla
gzilla/show_bug.cgi?id=28465 Cannot use jsp error pages from servlets Summary: Cannot use jsp error pages from servlets Product: Tomcat 5 Version: 5.0.19 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity:

DO NOT REPLY [Bug 6659] - HttpUtils.getRequestURL gives incorrect URL with web.xml redirected error pages

2004-02-07 Thread bugzilla
gzilla/show_bug.cgi?id=6659 HttpUtils.getRequestURL gives incorrect URL with web.xml redirected error pages [EMAIL PROTECTED] changed: What|Removed |Added Stat

error pages

2003-09-19 Thread Arjan Gerritsen
Hi , the next question is bothering me: I want to have custom error pages for my webapp. Well this works: (web.xml of Tomcat) 500 /server_error.html 404 /file_not_found.html But this is for all the webapps on that Tomcat server. I want to specify a spefic one for one application. Whene

DO NOT REPLY [Bug 12978] - Tomcat doesn't pick up error pages.

2002-10-03 Thread bugzilla
gzilla/show_bug.cgi?id=12978 Tomcat doesn't pick up error pages. [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED

DO NOT REPLY [Bug 12978] - Tomcat doesn't pick up error pages.

2002-09-27 Thread bugzilla
gzilla/show_bug.cgi?id=12978 Tomcat doesn't pick up error pages. --- Additional Comments From [EMAIL PROTECTED] 2002-09-27 18:47 --- Created an attachment (id=3272) o.a.c.v.ErrorDispatcherValve even newer.. one of those days -- To unsubscribe, e-mail: <mailto:[EMAIL P

DO NOT REPLY [Bug 12978] - Tomcat doesn't pick up error pages.

2002-09-27 Thread bugzilla
gzilla/show_bug.cgi?id=12978 Tomcat doesn't pick up error pages. --- Additional Comments From [EMAIL PROTECTED] 2002-09-27 18:44 --- The second patch conforms to the spec.. the first still did things backwords.. The web application may have declared error pages using the exception-t

DO NOT REPLY [Bug 12978] - Tomcat doesn't pick up error pages.

2002-09-27 Thread bugzilla
gzilla/show_bug.cgi?id=12978 Tomcat doesn't pick up error pages. --- Additional Comments From [EMAIL PROTECTED] 2002-09-27 18:42 --- Created an attachment (id=3271) o.a.c.v.ErrorDispatcherValve newer patch -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional

DO NOT REPLY [Bug 12978] - Tomcat doesn't pick up error pages.

2002-09-27 Thread bugzilla
gzilla/show_bug.cgi?id=12978 Tomcat doesn't pick up error pages. --- Additional Comments From [EMAIL PROTECTED] 2002-09-27 18:33 --- This patch should fix your problems. the valve was never handling ServletException when looking for errorpages. see SRV.9.9.2 -- To unsubscr

DO NOT REPLY [Bug 12978] - Tomcat doesn't pick up error pages.

2002-09-27 Thread bugzilla
gzilla/show_bug.cgi?id=12978 Tomcat doesn't pick up error pages. --- Additional Comments From [EMAIL PROTECTED] 2002-09-27 18:30 --- Created an attachment (id=3270) o.a.c.v.ErrorDispatcherValve patch -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands

DO NOT REPLY [Bug 12978] - Tomcat doesn't pick up error pages.

2002-09-24 Thread bugzilla
gzilla/show_bug.cgi?id=12978 Tomcat doesn't pick up error pages. --- Additional Comments From [EMAIL PROTECTED] 2002-09-24 22:58 --- So something was "broken" b/w 4.0.4 and 4.1.x? I'm trying to migrate an application from 4.0.4 - where everything works fine.

DO NOT REPLY [Bug 12978] - Tomcat doesn't pick up error pages.

2002-09-24 Thread bugzilla
gzilla/show_bug.cgi?id=12978 Tomcat doesn't pick up error pages. --- Additional Comments From [EMAIL PROTECTED] 2002-09-24 22:24 --- This seems to be the same thing that is happening in Bug #11091. I don't know of a solution, but I do have a potential workaround that you cou

DO NOT REPLY [Bug 12978] New: - Tomcat doesn't pick up error pages.

2002-09-24 Thread bugzilla
gzilla/show_bug.cgi?id=12978 Tomcat doesn't pick up error pages. Summary: Tomcat doesn't pick up error pages. Product: Tomcat 4 Version: 4.1.12 Platform: PC OS/Version: Windows XP Status: NEW Severity: Minor

DO NOT REPLY [Bug 6659] - HttpUtils.getRequestURL gives incorrect URL with web.xml redirected error pages

2002-06-07 Thread bugzilla
gzilla/show_bug.cgi?id=6659 HttpUtils.getRequestURL gives incorrect URL with web.xml redirected error pages --- Additional Comments From [EMAIL PROTECTED] 2002-06-07 14:55 --- So... Does it make sence to just change the method HttpUtils.getRequestURL( request ) so that it simply

DO NOT REPLY [Bug 9252] - Tomcat sometimes posts HTML Error Pages as text/plain instead of text/html.

2002-05-20 Thread bugzilla
gzilla/show_bug.cgi?id=9252 Tomcat sometimes posts HTML Error Pages as text/plain instead of text/html. [EMAIL PROTECTED] changed: What|Removed |Added Stat

DO NOT REPLY [Bug 9252] New: - Tomcat sometimes posts HTML Error Pages as text/plain instead of text/html.

2002-05-20 Thread bugzilla
gzilla/show_bug.cgi?id=9252 Tomcat sometimes posts HTML Error Pages as text/plain instead of text/html. Summary: Tomcat sometimes posts HTML Error Pages as text/plain instead of text/html. Product: Tomcat 4 Version: 4.0.3 Final Platfo

DO NOT REPLY [Bug 6659] - HttpUtils.getRequestURL gives incorrect URL with web.xml redirected error pages

2002-04-12 Thread bugzilla
gzilla/show_bug.cgi?id=6659 HttpUtils.getRequestURL gives incorrect URL with web.xml redirected error pages [EMAIL PROTECTED] changed: What|Removed |Added Component|U

DO NOT REPLY [Bug 6659] New: - HttpUtils.getRequestURL gives incorrect URL with web.xml redirected error pages

2002-02-25 Thread bugzilla
gzilla/show_bug.cgi?id=6659 HttpUtils.getRequestURL gives incorrect URL with web.xml redirected error pages Summary: HttpUtils.getRequestURL gives incorrect URL with web.xml redirected error pages Product: Tomcat 4 Version: 4.0.2 Final Platfo

[PATCH] Status-Code not set for Error pages when Exception is thrown

2001-11-16 Thread Ryan Lubke
Hi, Say a user has a custom error page for status codes of 500 when an uncaught exception occurs. The request parameter, javax.servlet.error.status_code, is not set, so if the error page tries to access this req. parameter, null will be returned. Attached is a patch that I've tested in my env

RE: Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-06-06 Thread Marc Saegesser
n [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 01, 2001 12:04 AM > To: [EMAIL PROTECTED] > Subject: Re: Problem+Fix concerning static error pages in Tomcat 3.2.2 > > > Hmm.. In fact (in 3.2.2 atleast), it does not even matter if the > file exists > or not, since the FileHandle

Re: Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-31 Thread Peter S. Heijnen
Hmm.. In fact (in 3.2.2 atleast), it does not even matter if the file exists or not, since the FileHandler simply uses the originally requested file and StaticInterceptor. So I suppose its the same bug alltogether. If things are fixed in 3.2.3, I'm happy enough though. The dirty fix I posted earl

Re: Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-30 Thread David Rees
A related bug to this is a nasty stack overflow error if an error page that you define is not found. It's pretty easy to reproduce, just add this to your web.xml: 404 /some-nonexistant-file.jsp Then try to access a non-existant file. Tomcat will go into an infinite loop un

RE: Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-30 Thread Marc Saegesser
r [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 30, 2001 9:38 AM > To: [EMAIL PROTECTED] > Subject: RE: Problem+Fix concerning static error pages in Tomcat 3.2.2 > > > Bloody hell. > > This bug was fixed a couple months ago and then got whacked by a > late commit &

RE: Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-30 Thread Marc Saegesser
- > From: Peter S. Heijnen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 30, 2001 12:50 AM > To: [EMAIL PROTECTED] > Subject: Re: Problem+Fix concerning static error pages in Tomcat 3.2.2 > > > I use virtual hosts, but don't think that is the cause, although > I have not

Re: Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-29 Thread Peter S. Heijnen
y, May 29, 2001 8:54 PM Subject: RE: Problem+Fix concerning static error pages in Tomcat 3.2.2 > Could you please supply a sample webapp that demonstrates this? Static > error pages seem to work OK for me. > > > -Original Message- > > From: Peer Heijnen [mailto:[EMAIL PR

RE: Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-29 Thread Marc Saegesser
Could you please supply a sample webapp that demonstrates this? Static error pages seem to work OK for me. > -Original Message- > From: Peer Heijnen [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 29, 2001 5:52 AM > To: tomcat-dev > Subject: Problem+Fix concerning static

Re: Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-29 Thread Peer Heijnen
Sorry, I made a mistake in my previous post. The fix we use is 'req.setServletPath( ctx.getPath() + "/" + errorPath )', and _not_ 'req.setRequestURI( ctx.getPath() + errorPath )' as stated in my message. Cheers, Peer Heijnen

Problem+Fix concerning static error pages in Tomcat 3.2.2

2001-05-29 Thread Peer Heijnen
I'm using Tomcat 3.2.2 (relase) and have configured static .html files as error pages. We used JSP pages before, and everything was fine... However since we're using static files, Tomcat will enter an infinite loop and eventually crash with a stack overflow (with a good change of leav

Re: Fixing error pages on virtual hosts.

2001-04-24 Thread cmanolache
etServerName( ctx.getHost() );" after > "initRequest( req1, res1 );". > > We've not studied all sources thoroughly, and I'm not sure if this is a > correct fix, but it works perfectly on versions 3.2.1 upto 3.2.2beta3 (error > pages get displayed correctly now). The servername was 'null' at the fix > point before. > > Cheers, > Peter S. Heijnen >

Fixing error pages on virtual hosts.

2001-04-24 Thread Peer Heijnen
Hi, We've been using Tomcat 3.2.1 quite succesfully, but ran into trouble with error pages on virtual domains (causing an infinite loop in 3.2.1, and a 404 in 3.2.2b3). We fixed this problem by setting the hostname in ord.apache.tomcat.core.ContextManager#getHandlerForPath( Context ctx, S

RE: HTTP Status Codes and Error Pages

2001-03-08 Thread Larry Isaacs
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 06, 2001 3:24 PM > To: [EMAIL PROTECTED] > Subject: RE: HTTP Status Codes and Error Pages > > > > Costin - were you going to make the changes > > (out.

RE: HTTP Status Codes and Error Pages

2001-03-06 Thread cmanolache
> Costin - were you going to make the changes > (out.flush() -> out.flushBuffers()) in > JspParseEventListener.generateFooter() and > PageContextImpl.include() that we had discussed? I > had thought that you implied you were going to do it > (that was before I was a committer) but I just noticed

RE: HTTP Status Codes and Error Pages

2001-03-06 Thread Ethan Wallwork
artinez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06, 2001 9:51 AM To: [EMAIL PROTECTED] Subject: RE: HTTP Status Codes and Error Pages Ethan, You missed some good discussions on this two weeks ago between Costin and myself! :-) Not only is it (premature commit) caused by the RequestDis

RE: HTTP Status Codes and Error Pages

2001-03-06 Thread Mel Martinez
ceptor (BugRat > bug #316). > > -- > Ethan > > -Original Message- > From: Ethan Wallwork > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 28, 2001 1:03 PM > To: Tomcat-Dev > Subject: HTTP Status Codes and Error Pages > > > > I can&#x

RE: HTTP Status Codes and Error Pages

2001-02-28 Thread Ethan Wallwork
001 1:03 PM To: Tomcat-Dev Subject: HTTP Status Codes and Error Pages I can't tell if this is a bug or intended behavior: I have a servlet that acts as the error page for my webapp. Note that this is set up using the web.xml file, not the errorPage directive in the JSPs (if that makes any

HTTP Status Codes and Error Pages

2001-02-28 Thread Ethan Wallwork
I can't tell if this is a bug or intended behavior: I have a servlet that acts as the error page for my webapp. Note that this is set up using the web.xml file, not the errorPage directive in the JSPs (if that makes any difference?) When there is an error (say 500 Internal Server Error), it re

Custom error pages!!

2000-12-11 Thread Pankaj Bhagat
Hi ppl: I had posted a very simple query..but had not received any comments. So am i the only unlucky person who's stuck on this simple problem. Any suggestions are welcome plz.   I want Custom error pages, in my application, the two solutions i have is to use the "Err

Customizing Error Pages!!

2000-12-08 Thread Pankaj Bhagat
Hi everybody:     I using Apache and TomCat 3.2 and was trying the option of having customized error pages for the application. Now for this as i need error pages corresponding to Exception's in my code i am trying that option using the web.xml file. But somehow am not being taken t