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
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
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
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
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
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
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
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
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
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
>
>
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
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) {
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
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
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
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
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
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
>
> 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
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,
-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
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
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.
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
Hi,
I have a cutom .jsp page handling my 500 errors. Can I somehow access and
display the original exception message and trace ?
greetings
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
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
"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
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
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
"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
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]
-
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
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
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 ...
>
>
>
>
> 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
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
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
38 matches
Mail list logo