Re: Custom error page for invalid mutual authentication (TLS)

2025-02-11 Thread Christopher Schultz
or the other), then there is no HTTP connection available to send a custom error page. It's entirely up to the application on the client end to describe the failure to the user. If, instead, you relax the handshake requirements (clientAuth=want) then you have the opportunity to complete the

Re: Custom error page for invalid mutual authentication (TLS)

2025-02-07 Thread Sebastian Trost
Peter, if updating your application is out of the question, I'm guessing that there is no way to achieve this. If updating your application is an option, you can set the clientAuth attribute of your connector to 'want' instead of 'true' and then try to detect within your app, if the client p

Custom error page for invalid mutual authentication (TLS)

2025-02-06 Thread Peter Rader
Hi, I have a website that use mutual authentication for over 100 persons very successfull since years. Sometimes a client-certificate in the truststore of the server must be deactivated, maybe the person died or his/her device got pinched. As soon as the user access the website using a browser

Re: Custom error page

2021-09-24 Thread Mark Thomas
On 24/09/2021 11:56, Jan Pernica wrote: Hi how can I easly create error page for the whole server? Curretly if I add to conf/web.xml         500     /error/error.html             404     /error/error.html     And put into webapps/ROOT/error/error.html page it works

Custom error page

2021-09-24 Thread Jan Pernica
Hi how can I easly create error page for the whole server? Curretly if I add to conf/web.xml         500     /error/error.html             404     /error/error.html     And put into webapps/ROOT/error/error.html page it works only for ROOT context. Other contexts shows empt

Re: Custom error page for all errors

2014-08-19 Thread Mark Thomas
On 19/08/2014 21:05, Mark Haroldson wrote: > Is there a way to route all errors to a single web page? Leave out the error-code tag and you define the default error page. That will work in Tomcat 8 and I think in 7 as well. Mark > > > > > > Something like: > > > > > > all > > myer

Custom error page for all errors

2014-08-19 Thread Mark Haroldson
Is there a way to route all errors to a single web page? Something like: all myerror.jsp Basically I want to control the content of everything that goes out of my service. Thanks Mark

Re: NPE during custom error page handling in Tomcat 7.0.32

2012-10-11 Thread Sean Owen
x()).addMapping("/error.jspx"); On Wed, Oct 10, 2012 at 8:06 PM, Sean Owen wrote: > Hello all, > > I'm looking for any ideas on the following issue: > https://issues.apache.org/bugzilla/show_bug.cgi?id=53958 > > On Tomcat 7.0.32, using embedded Tomcat, I'm s

NPE during custom error page handling in Tomcat 7.0.32

2012-10-10 Thread Sean Owen
Hello all, I'm looking for any ideas on the following issue: https://issues.apache.org/bugzilla/show_bug.cgi?id=53958 On Tomcat 7.0.32, using embedded Tomcat, I'm seeing a NullPointerException when using a custom error page. The page itself is fine and loads if accessed directly. Tri

Re: custom error page during client ssl

2009-09-25 Thread Jason Brittain
at 8:58 AM, iam wrote: > Is there a way to throw a custom error page/msg when the user "cancel"s the > certificate pop-up on the browser during client SSL ? > > Right now the browser just shows default network error. > > Any prompt help is appreciated. > > Thanks > >

custom error page during client ssl

2009-09-25 Thread iam
Is there a way to throw a custom error page/msg when the user "cancel"s the certificate pop-up on the browser during client SSL ? Right now the browser just shows default network error. Any prompt help is appreciated. Thanks

Re: Custom error page with stacktrace

2008-08-24 Thread Kees Jan Koster
Dear All, In your error page, the variable "exception" is set to the exception (if any). You can get the error message and stack trace from the exception like this: Exception message: <%= (exception == null) ? "" : exception.getMessage() %> <% String stStack = ""; if (exception != null) {

Re: Custom error page with stacktrace

2008-08-20 Thread Len Popp
In your error page, the variable "exception" is set to the exception (if any). You can get the error message and stack trace from the exception like this: Exception message: <%= (exception == null) ? "" : exception.getMessage() %> <% String stStack = ""; if (exception != null) { java.io.St

Custom error page with stacktrace

2008-08-20 Thread Tom van Wietmarschen
L.S, I'm running tomcat to serve out XML to a custom client (not a webbrowser). In order to show an error page that this client can actually display I use custom error pages in Tomcat. For this I have specified a JSP as an error page, this works very well. However, during the test phase of ou

Re: Tomcat JSF custom error page

2007-12-27 Thread Louis
David Segall wrote: I have, after hours of trial and error, managed to persuade Tomcat to use my custom error page in a Java Server Faces application. Now that I have solved the problem I would like to know where I could have looked to find the answer. In case someone finds this page via a

Tomcat JSF custom error page

2007-12-27 Thread David Segall
I have, after hours of trial and error, managed to persuade Tomcat to use my custom error page in a Java Server Faces application. Now that I have solved the problem I would like to know where I could have looked to find the answer. In case someone finds this page via a web search I should

Re: Custom error page on Tomcat 6

2007-03-20 Thread Filip Hanik - Dev Lists
http://people.apache.org/~fhanik/ check out GlobalErrorReportValve Filip Peter Kennard wrote: At 16:58 3/20/2007, you wrote: > From: Peter Kennard [mailto:[EMAIL PROTECTED] > Subject: Re: Custom error page on Tomcat 6 > > Can one make a class that spits out the error page that

RE: Custom error page on Tomcat 6

2007-03-20 Thread Peter Kennard
At 16:58 3/20/2007, you wrote: > From: Peter Kennard [mailto:[EMAIL PROTECTED] > Subject: Re: Custom error page on Tomcat 6 > > Can one make a class that spits out the error page that recieves the > "code number" as input, (and/or maybe an Exception handle if the >

RE: Custom error page on Tomcat 6

2007-03-20 Thread Caldarale, Charles R
> From: Peter Kennard [mailto:[EMAIL PROTECTED] > Subject: Re: Custom error page on Tomcat 6 > > Can one make a class that spits out the error page that recieves the > "code number" as input, (and/or maybe an Exception handle if the > servelet threw an exception wh

Re: Custom error page on Tomcat 6

2007-03-20 Thread Peter Kennard
Stream to write back to the requester on? That would be really really nice, and totally genrally customizable :) PK At 12:40 3/20/2007, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20/03/2007, at 5:28 PM, Hoa Doan wrote: How do I set up a custom error page in Tomcat 6? Hoa,

Re: Custom error page on Tomcat 6

2007-03-20 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20/03/2007, at 5:28 PM, Hoa Doan wrote: How do I set up a custom error page in Tomcat 6? Hoa, Stupid question... Have you tried entering "Custom error page on Tomcat" into Google? Grrr Andrew -BEGIN PGP SIGNATURE- Vers

Re: Custom error page on Tomcat 6

2007-03-20 Thread Tim Funk
http://tomcat.apache.org/faq/misc.html#error Hoa Doan wrote: How do I set up a custom error page in Tomcat 6? - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Custom error page on Tomcat 6

2007-03-20 Thread Hoa Doan
How do I set up a custom error page in Tomcat 6? - Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.

Re: custom error page for 500

2007-02-10 Thread Len Popp
The exception and other bits of error info are available as attributes of the request. For details see section 9.9 in the Servlet 2.4 spec and section 1.4.3 in the JSP 2.0 spec. -- Len On 2/10/07, Markus Sabadello <[EMAIL PROTECTED]> wrote: Hi, I have a cutom .jsp page handling my 500 errors. C

custom error page for 500

2007-02-10 Thread Markus Sabadello
Hi, I have a cutom .jsp page handling my 500 errors. Can I somehow access and display the original exception message and trace ? greetings

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Hassan Schroeder
On 7/24/06, Eric B. <[EMAIL PROTECTED]> wrote: > If Apache is generating an "internal server error" as you indicated, it > should be returning a 5xx status, I'd think. I'd think so too. But I put in ErrorDocument 500 directives, and got nothing out of it. OK, simplest test: I took a standalo

Subject: Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Edmon Begoli
If you are using Apache to Tomcat try using mod_security module to accomplish this. Mod security has setting for hiding the server error output: http://www.modsecurity.org/documentation/modsecurity-apache/1.9.3/modsecurity-manual.html#N1057D as well as purposly missrepresenting the Apache (like

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Eric B.
"Hassan Schroeder" <[EMAIL PROTECTED]> wrote in message > On 7/24/06, Eric B. <[EMAIL PROTECTED]> wrote: > >> Thanks for the pointer, but the problem that I see is that Apache is >> returning the status code 200 to the browser. > > If Apache is generating an "internal server error" as you indicated

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Christopher Schultz
Eric, > I've been scouring the docs & newsgroups for the last hour or so, and have > been unable to find a solution to my problem. Currently, I have tomcat > being access through the Apache httpd server, configured via the jk_mod > connector/module. I have the same setup, and just use "ErrorD

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Hassan Schroeder
On 7/24/06, Eric B. <[EMAIL PROTECTED]> wrote: Thanks for the pointer, but the problem that I see is that Apache is returning the status code 200 to the browser. If Apache is generating an "internal server error" as you indicated, it should be returning a 5xx status, I'd think. -- Hassan Schr

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Eric B.
"Hassan Schroeder" <[EMAIL PROTECTED]> wrote in message > >> Is there any way I can customize that error page to say/show something >> different? > > See the Apache doc for "ErrorDocument" Thanks for the pointer, but the problem that I see is that Apache is returning the status code 200 to the b

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Hassan Schroeder
On 7/24/06, Eric B. <[EMAIL PROTECTED]> wrote: Is there any way I can customize that error page to say/show something different? See the Apache doc for "ErrorDocument" -- Hassan Schroeder [EMAIL PROTECTED] -

Custom Error page when Tomcat is down?

2006-07-24 Thread Eric B.
Hi, I've been scouring the docs & newsgroups for the last hour or so, and have been unable to find a solution to my problem. Currently, I have tomcat being access through the Apache httpd server, configured via the jk_mod connector/module. My problem is I have to sometimes stop the tomcat ser

custom error page and working around a mozilla bug

2006-05-03 Thread Robert Koberg
There is a bug in mozilla when using client side XSLT: https://bugzilla.mozilla.org/show_bug.cgi?id=334179 Basically, the problem is that mozilla ends a response when it sees a redirect or forward. Since I am using client side XSL to transform XML, I get an error when, say, a 404 happens bec

Re: Custom error page when ...

2005-10-24 Thread Seak, Teng-Fong
result for every web application? > >Thanks. >Roberto. > >- Original Message - >From: "Chris Birch" <[EMAIL PROTECTED]> >To: "Tomcat Users List" >Sent: Saturday, October 22, 2005 12:59 PM >Subject: Re: Custom error page when ... > >

Re: Custom error page when ...

2005-10-24 Thread Roberto Bottoni - AfterBit
> > > Regards, > Chris. > > On 22 Oct 2005, at 10:12, Roberto Bottoni - AfterBit wrote: > > > Hi, > > I would like to replace a custom error page when i get a : HTTP Status > > 404 > > .. The requeste

Re: Custom error page when ...

2005-10-22 Thread Chris Birch
10:12, Roberto Bottoni - AfterBit wrote: Hi, I would like to replace a custom error page when i get a : HTTP Status 404 .. The requested resource (/..) is not available with Tomcat 5. How I make this ? Thanks. Roberto. - To

Custom error page when ...

2005-10-22 Thread Roberto Bottoni - AfterBit
Hi, I would like to replace a custom error page when i get a : HTTP Status 404 .. The requested resource (/..) is not available with Tomcat 5. How I make this ? Thanks. Roberto. - To unsubscribe, e-mail: [EMAIL PROTECTED] For