Re: Error page messages

2012-12-01 Thread André Warnier
David Kerber wrote: On 11/30/2012 5:59 PM, André Warnier wrote: Christopher Schultz wrote: ... I've even seen a site with a Perl-based (or was it PHP-based) service .. must have been PHP, not Perl, I'm sure. We Perl guys don't do things that way. As I was telling Leo off-line, we have a

Re: Error page messages

2012-11-30 Thread Pid
On 30/11/2012 21:00, Leo Donahue - RDSA IT wrote: Are there standardized server responses that one should expect to see when dealing with java.lang, javax.servlet and javax.faces exceptions that should be displayed to the client? You mean status codes or error pages? If an exception isn't

RE: Error page messages

2012-11-30 Thread Leo Donahue - RDSA IT
-Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, November 30, 2012 3:04 PM To: Tomcat Users List Subject: Re: Error page messages On 30/11/2012 21:00, Leo Donahue - RDSA IT wrote: Are there standardized server responses that one should expect to see when dealing

Re: Error page messages

2012-11-30 Thread Pid
On 30/11/2012 22:09, Leo Donahue - RDSA IT wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, November 30, 2012 3:04 PM To: Tomcat Users List Subject: Re: Error page messages On 30/11/2012 21:00, Leo Donahue - RDSA IT wrote: Are there standardized server

Re: Error page messages

2012-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 11/30/12 5:09 PM, Leo Donahue - RDSA IT wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, November 30, 2012 3:04 PM To: Tomcat Users List Subject: Re: Error page messages On 30/11/2012 21:00, Leo

RE: Error page messages

2012-11-30 Thread Caldarale, Charles R
From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] Subject: RE: Error page messages I don't know of any public facing websites, off hand, that show uncaught exception messages. You need to get out more - there are tons of poorly implemented websites that will splatter stack

RE: Error page messages

2012-11-30 Thread Leo Donahue - RDSA IT
-Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, November 30, 2012 3:13 PM To: Tomcat Users List Subject: Re: Error page messages On 30/11/2012 22:09, Leo Donahue - RDSA IT wrote: -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, November

RE: Error page messages

2012-11-30 Thread Leo Donahue - RDSA IT
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Friday, November 30, 2012 3:19 PM To: Tomcat Users List Subject: Re: Error page messages -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leo, On 11/30/12 5:09 PM, Leo Donahue - RDSA IT wrote

RE: Error page messages

2012-11-30 Thread Leo Donahue - RDSA IT
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, November 30, 2012 3:28 PM To: Tomcat Users List Subject: RE: Error page messages From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] Subject: RE: Error page messages I don't

Re: Error page messages

2012-11-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 11/30/12 5:28 PM, Caldarale, Charles R wrote: From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] Subject: RE: Error page messages I don't know of any public facing websites, off hand, that show uncaught exception

Re: Error page messages

2012-11-30 Thread André Warnier
Christopher Schultz wrote: ... I've even seen a site with a Perl-based (or was it PHP-based) service .. must have been PHP, not Perl, I'm sure. We Perl guys don't do things that way. As I was telling Leo off-line, we have a nice global switch called fatals_to_browser, which you can just

Re: Error page messages

2012-11-30 Thread David Kerber
On 11/30/2012 5:59 PM, André Warnier wrote: Christopher Schultz wrote: ... I've even seen a site with a Perl-based (or was it PHP-based) service .. must have been PHP, not Perl, I'm sure. We Perl guys don't do things that way. As I was telling Leo off-line, we have a nice global switch

Re: error-page for http 500 error code does not work

2011-06-07 Thread Kevin Claver
Chris,  Through further investigation, I now believe the JSF framework I'm using is absorbing the error, and the framework's error page is what is throwing the 500 error.  I wonder if the 500 error thrown by the framework's error page should fall through to the custom error page servlet I've

Re: error-page for http 500 error code does not work

2011-06-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, On 6/7/2011 8:56 AM, Kevin Claver wrote: Through further investigation, I now believe the JSF framework I'm using is absorbing the error, and the framework's error page is what is throwing the 500 error. I wonder if the 500 error thrown by

Re: error-page for http 500 error code does not work

2011-06-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, On 6/3/2011 9:43 AM, Kevin Claver wrote: When the custom error servlet fails to display, I get the stock tomcat http 500 error page. If I look at the access log, I see the 500 error: 192.168.xxx.xxx - - [02/Jun/2011:13:53:14 -0600]

Re: error-page for http 500 error code does not work

2011-06-03 Thread Pid
On 02/06/2011 21:45, Kevin Claver wrote: Two things I would like to note: 1. When I invoke the Java HMAExceptionHandlerServlet configured to be used in the error-page block in the application specific web.xml directly from the URL in the browser, it works. 2. Tomcat 5.5.33 does

Re: error-page for http 500 error code does not work

2011-06-03 Thread Kevin Claver
Thanks for the quick reply! I zipped the tomcat install and deployed it to my Win 7 machine where it works without issue. When the custom error servlet fails to display, I get the stock tomcat http 500 error page. If I look at the access log, I see the 500 error: 192.168.xxx.xxx - -

RE: error-page for http 500 error code does not work

2011-06-03 Thread Caldarale, Charles R
From: Kevin Claver [mailto:kcla...@yahoo.com] Subject: Re: error-page for http 500 error code does not work I zipped the tomcat install and deployed it to my Win 7 machine where it works without issue. I'll hazard a guess that you have a case sensitivity issue. Something in your

Re: error-page for http 500 error code does not work

2011-06-03 Thread Kevin Claver
users@tomcat.apache.org Sent: Friday, June 3, 2011 7:47 AM Subject: RE: error-page for http 500 error code does not work From: Kevin Claver [mailto:kcla...@yahoo.com] Subject: Re: error-page for http 500 error code does not work I zipped the tomcat install and deployed it to my Win 7 machine

Re: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread Yucca Nel
I am not too sure on this, but it could be because runtime exceptions are usually avoidable and perhaps therefore you need to deal with such errors beforehand(higher up in the stack) and throw custom exceptions. It doesn't sound like good coding standards(what you are doing anyway). If you are

Re: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread Yucca Nel
, May 12, 2010 9:03 AM To: Tomcat Users List users@tomcat.apache.org Subject: Re: error-page exception-type subclasses of RuntimeException are not handled I am not too sure on this, but it could be because runtime exceptions are usually avoidable and perhaps therefore you need to deal

RE: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread Propes, Barry L
AM To: Tomcat Users List Subject: Re: error-page exception-type subclasses of RuntimeException are not handled I thought I would like to add to thepoint I am trying to make, I am using hibernate validation API and get big fat runtime exceptions if the validation API fails a check on a field

RE: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread bryan jacobs
creating a checked Exception subclass and see if that fixes the problem. Thanks for the response. Bryan From: yucca...@live.co.za To: users@tomcat.apache.org Subject: Re: error-page exception-type subclasses of RuntimeException are not handled Date: Wed, 12 May 2010 09:03:30 +0200 I am

Re: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread Konstantin Kolinko
2010/5/12 bryan jacobs bryancjac...@hotmail.com:    error-page         exception-typeorg.lds.lua.directory.exception.LuaSecurityException/exception-type        location/error.html/location    /error-page However, if I change the above configuration to:    error-page

RE: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread bryan jacobs
Thanks for that information. I will do some research based on that. Bryan Date: Wed, 12 May 2010 19:50:16 +0400 Subject: Re: error-page exception-type subclasses of RuntimeException are not handled From: knst.koli...@gmail.com To: users@tomcat.apache.org 2010/5/12 bryan jacobs

RE: error-page exception-type subclasses of RuntimeException are not handled

2010-05-12 Thread bryan jacobs
. Bryan Date: Wed, 12 May 2010 19:50:16 +0400 Subject: Re: error-page exception-type subclasses of RuntimeException are not handled From: knst.koli...@gmail.com To: users@tomcat.apache.org 2010/5/12 bryan jacobs bryancjac...@hotmail.com: error-page exception

Re: error-page problem - nested exceptions

2010-01-24 Thread rotis23
Thanks Len. -- View this message in context: http://old.nabble.com/error-page-problem---nested-exceptions-tp27272261p27294864.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: error-page problem - nested exceptions

2010-01-22 Thread Len Popp
You could have your error handler check if the exception is a NestedServletException and its getRootCause() is a UnAuthorisedAccessException, and display the nested exception's error message in that case. You might want to use a separate error-page for NestedServletException. -- Len On Fri,

Re: error-page problem - nested exceptions

2010-01-22 Thread rotis23
Hi Len, Thanks for your message. I don't have my 'own' error handler - I just use the error-page elements in web.xml. If I add an error-page for NestedServletException will the exception be available to the corresponding jsp [in the request]? Has anyone extended tomcats error-page

Re: error-page problem - nested exceptions

2010-01-22 Thread Len Popp
Yes, in the error page you can get the exception as a request attribute, either javax.servlet.jsp.jspException or javax.servlet.error.exception (sometimes it's one, sometimes the other). In my app, I found that this exception has already been unwrapped - it's the original exception, not a

Re: error page configuration

2009-03-19 Thread Gregor Schneider
This is not a Tomcat-related question but a question relating to Servlets in general. http://edocs.bea.com/wls/docs61/webapp/web_xml.html#1017571 Rgds Gregor -- just because your paranoid, doesn't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key

Re: error page configuration

2009-03-19 Thread Ken Bowen
You may also want to try asking on the Tiles User list: us...@tiles.apache.org On Mar 19, 2009, at 7:54 AM, Gregor Schneider wrote: This is not a Tomcat-related question but a question relating to Servlets in general. http://edocs.bea.com/wls/docs61/webapp/web_xml.html#1017571 Rgds

Re: error page configuration

2009-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dinesh, On 3/19/2009 12:20 AM, Dinesh Gupta wrote: In my application, using tiles at the run time from the database we pick the the jsp file. But some times exception occurred.So that if any include page got exception I want to go to the error

RE: error page configuration

2009-03-18 Thread Caldarale, Charles R
From: Dinesh Gupta [mailto:dinesh.gupt...@hotmail.com] Subject: error page configuration If anyone have idea about this please help. http://www.catb.org/~esr/faqs/smart-questions.html If you provide real information, you might get a real answer... - Chuck THIS COMMUNICATION MAY CONTAIN

RE: error page configuration

2009-03-18 Thread Dinesh Gupta
question is that Can we handle the included page error by using filter,coz I don't use in each page isErrorPage tag. Regards, Dinesh Gupta From: chuck.caldar...@unisys.com To: users@tomcat.apache.org Date: Wed, 18 Mar 2009 08:52:21 -0500 Subject: RE: error page configuration From: Dinesh

Re: Error Page Question

2008-03-20 Thread Peter Stavrinides
oh no! even more work for me now... thanks anyway for your help guys! Len Popp wrote: You can't override the 503 error page using an error-page declaration. :-( The only way I know of to change it is to replace org.apache.catalina.valves.ErrorReportValve with your own version, which you

Re: Error Page Question

2008-03-19 Thread David Delbecq
The easiest way i found out here was to use the 404 of the ROOT web application ^^ to display a 'site under maintenance'. You could also create a ROOT/webappname/index.html to get same result En l'instant précis du 19/03/08 11:55, Peter Stavrinides s'exprimait en ces termes: Hi all, How do

Re: Error Page Question

2008-03-19 Thread Peter Stavrinides
Oh thanks! that sounds quite simple... so I just add my error page descriptor in the ROOT applications web.xml and it will override. David Delbecq wrote: The easiest way i found out here was to use the 404 of the ROOT web application ^^ to display a 'site under maintenance'. You could also

Re: Error Page Question

2008-03-19 Thread Peter Stavrinides
Unfortunately this solution doesn't solve it, I can only override 404 pages?, for 503 pages it simply ignores the override in web.xml, anybody got any other suggestions? Peter Stavrinides wrote: Oh thanks! that sounds quite simple... so I just add my error page descriptor in the ROOT

Re: Error Page Question

2008-03-19 Thread Pid
Peter Stavrinides wrote: Unfortunately this solution doesn't solve it, I can only override 404 pages?, for 503 pages it simply ignores the override in web.xml, anybody got any other suggestions? I thought used to be possible to customise the built in error pages with XSL, but I can't seem to

Re: Error Page Question

2008-03-19 Thread Len Popp
You can't override the 503 error page using an error-page declaration. :-( The only way I know of to change it is to replace org.apache.catalina.valves.ErrorReportValve with your own version, which you specify in the errorReportValveClass attribute of the Host element in server.xml. I haven't

Re: Error-page directive not working

2007-09-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil, Neil Aggarwal wrote: When I load that url, I get an error in the tomcat log but the error page does not come up on the browser. What /do/ you get in the browser? - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32)

RE: Error Page problems

2007-09-07 Thread Caldarale, Charles R
From: ryoung5367 [mailto:[EMAIL PROTECTED] Subject: Error Page problems I noticed that I no longer get the standard Tomcat message on 404's, but I get a 404 error in the browser. Are you using Internet Explorer? If so, it won't display short error pages for known errors. Try the same

Re: error-page not working

2007-05-23 Thread David Delbecq
SiSi'mon a écrit : I have the following: error-page exception-typejava.lang.Throwable/exception-type location/web/error/Throwable.jsf/location /error-page but there are myfaces / spring and hibernate exceptions being thrown and it is not being sent to this xhtml

RE: error-page not working

2007-05-23 Thread gb1071nx
] Sent: Wednesday, May 23, 2007 3:26 PM To: Tomcat Users List Subject: Re: error-page not working SiSi'mon a écrit : I have the following: error-page exception-typejava.lang.Throwable/exception-type location/web/error/Throwable.jsf/location /error-page

RE: error-page and TC 5.5.23

2007-05-10 Thread gb1071nx
Is this just a boring question, or has no-one else run into the problem? -Original Message- From: gb1071nx [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 2:22 PM To: Tomcat Users List Subject: RE: error-page and TC 5.5.23 I'm just adding to this: When I remove

Re: error-page and TC 5.5.23

2007-05-10 Thread David Smith
? -Original Message- From: gb1071nx [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 2:22 PM To: Tomcat Users List Subject: RE: error-page and TC 5.5.23 I'm just adding to this: When I remove the mapping for the error-code 500, then I get the standard tc5.5 error page. So my

RE: error-page and TC 5.5.23

2007-05-10 Thread gb1071nx
cares. I just want a response from someone with the power to fix it, that it will be fixed (or not). -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 10:20 AM To: Tomcat Users List Subject: Re: error-page and TC 5.5.23 Reading

RE: error-page and TC 5.5.23

2007-05-10 Thread gb1071nx
the first person to 'discover' this bug. That's why I was asking around here first. But, perhaps you have enboldened me. ;) -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 10:41 AM To: Tomcat Users List Subject: Re: error-page and TC 5.5.23

Re: error-page and TC 5.5.23

2007-05-10 Thread David Smith
around here first. But, perhaps you have enboldened me. ;) -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 10:41 AM To: Tomcat Users List Subject: Re: error-page and TC 5.5.23 I know there are committers reading this list, but you might

Re: error-page directive in 5.5.20 - resending

2007-04-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eqbal, Eqbal wrote: I have an error-page directive in a webapp's web.xml to display a custom error page on 404/500 errors. . It works on my local machine which has Tomcat 5.5.17, but it does not work on my server which has 5.5.20 installed. Any

Re: error-page directive in 5.5.20 - resending

2007-04-19 Thread Eqbal
Yes. It does not go to my custom page. It instead shows the default Tomcat messages. I also tried the changes suggested by Rashmi earlier but doesn't seem to work. Thanks. --- Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eqbal, Eqbal wrote:

Re: error-page

2007-04-18 Thread Eqbal
I have an error-page directive in a webapp's web.xml to display a custom error page on 404/500 errors. . It works on my local machine which has Tomcat 5.5.17, but it does not work on my server which has 5.5.20 installed. Any ideas? Below is my web.xml: -- ?xml version=1.0

Re: error-page

2007-04-18 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

Re: error-page

2007-04-18 Thread Eqbal
I did not realize/know that this will create a problem. I apologize for doing that. I have sent a new message for my topic/question. Thanks for bringing it to my attention. --- Mark Thomas [EMAIL PROTECTED] wrote: When starting a new thread (ie sending a message to the list about a new topic)

Re: error-page directive in 5.5.20 - resending

2007-04-18 Thread Rashmi Rubdi
Hi Eqbal, Try upgrading the DTD/Schema URIs to 2.4 version since that's the latest version supported by 5.5.x . To upgrade, remove these lines: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; and

Re: error-page http status 408

2006-12-30 Thread rg
Nope, my server is only running Tomcat. There is nothing else involved. -rg On 12/30/06, Mark Thomas [EMAIL PROTECTED] wrote: rg wrote: I am using Tomcat 5.5.17 on Windows. I have a problem setting a 408 error-page in my web.xml on form based authentication. Random thought. Are you using

Re: error-page http status 408

2006-12-29 Thread Mark Thomas
rg wrote: I am using Tomcat 5.5.17 on Windows. I have a problem setting a 408 error-page in my web.xml on form based authentication. Random thought. Are you using httpd at all? If so, try going direct to Tomcat and getting that to work first. Mark

Re: error page

2006-05-20 Thread Len Popp
List users@tomcat.apache.org Sent: Thursday, May 18, 2006 14:20 Subject: Re: error page I'm trying to use the error handling mechanism described in http://java.sun.com/developer/EJTechTips/2003/tt0114.html. When an exception in thrown in JSP1 it is indeed redirected to JSP2. in JSP2 I've

RE: Re: error page

2006-05-20 Thread Zohar Amir
Subject: Re: error page It could be that the error page itself is throwing an error. Try using an ultra-simple error page. -- Len On 5/18/06, Zohar [EMAIL PROTECTED] wrote: No, I've used the Letting a page define its error page option. - Original Message - From: Franck Borel

RE: Re: error page

2006-05-20 Thread Zohar Amir
If anyone has an example I'd love seeing it... Date: Sat, 20 May 2006 14:05:20 -0400 From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: error page It could be that the error page itself is throwing an error. Try using an ultra-simple error page. -- Len On 5/18/06, Zohar

Re: error page

2006-05-20 Thread Hassan Schroeder
On 5/18/06, Zohar [EMAIL PROTECTED] wrote: When an exception in thrown in JSP1 it is indeed redirected to JSP2. in JSP2 I've put System.out.println(exception.getMessage()); and sure enough the exception's message is printed. But what I get as a response to the browser is HTTP 500. Sounds

Re: Re: error page

2006-05-20 Thread Hassan Schroeder
On 5/20/06, Zohar Amir [EMAIL PROTECTED] wrote: JSP2 should display the exception's message. What is this show friendly (sic) messages threshold? ? MS IE will show it's own friendly message instead of yours if the page size is less that some threshold value -- I forget exactly how big -- but

Re: error page

2006-05-18 Thread Franck Borel
I'm trying to use the error handling mechanism described in http://java.sun.com/developer/EJTechTips/2003/tt0114.html. When an exception in thrown in JSP1 it is indeed redirected to JSP2. in JSP2 I've put System.out.println(exception.getMessage()); and sure enough the exception's message

Re: error page

2006-05-18 Thread Zohar
No, I've used the Letting a page define its error page option. - Original Message - From: Franck Borel [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, May 18, 2006 14:20 Subject: Re: error page I'm trying to use the error handling mechanism described

Re: error-page for nonexistent context

2006-02-28 Thread Paul Singleton
Mark Thomas wrote: Paul Singleton wrote: (I am required to anonymiee a Tomcat 5.5 server from hackers trying to discover its version etc.) If I put this in conf/web.xml error-page error-code404/error-code location/anon_error.jsp/location /error-page *and* put an anon_error.jsp in every

Re: error-page for nonexistent context

2006-02-25 Thread Mark Thomas
Paul Singleton wrote: (I am required to anonymiee a Tomcat 5.5 server from hackers trying to discover its version etc.) If I put this in conf/web.xml error-page error-code404/error-code location/anon_error.jsp/location /error-page *and* put an anon_error.jsp in every web app,

Re: error-page for nonexistent context

2006-02-24 Thread Glen Mazza
Paul Singleton wrote: (I am required to anonymiee a Tomcat 5.5 server from hackers trying to discover its version etc.) If I put this in conf/web.xml error-page error-code404/error-code location/anon_error.jsp/location /error-page *and* put an anon_error.jsp in every web app, then I can