error-page directive

2005-03-01 Thread Ian van der Neut
Hello all, I have a web.xml (attached) that works fine if I remove the error-page directive, but gives a Exception initializing TldLocationsCache: XML parsing error on file /WEB-INF/web.xml: (line 72, col 11): The content of element type web-app must match (icon?,display-name?,description

Re: error-page directive

2005-03-01 Thread Trond G. Ziarkowski
Hi, Have you tried to move your the error-page directive to between the welcome-file-list and taglib directives. Seem to remember this happening to me some time ago as well. Trond !-- The Usual Welcome File List -- welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list

Re: error-page directive

2005-03-01 Thread Ian van der Neut
On Tue, 01 Mar 2005 10:32:42 +0100, Trond G. Ziarkowski [EMAIL PROTECTED] wrote: Hi, Have you tried to move your the error-page directive to between the welcome-file-list and taglib directives. Seem to remember this happening to me some time ago as well. That seems to get rid of the message

Re: error-page directive

2005-03-01 Thread Lionel Farbos
Perhaps, try to put error-page BEFORE taglib... On Tue, 1 Mar 2005 10:07:49 +0100 Ian van der Neut [EMAIL PROTECTED] wrote: Hello all, I have a web.xml (attached) that works fine if I remove the error-page directive, but gives a Exception initializing TldLocationsCache: XML parsing error

Re: error-page directive

2005-03-01 Thread Ian van der Neut
On Tue, 1 Mar 2005 10:41:36 +0100, Ian van der Neut [EMAIL PROTECTED] wrote: On Tue, 01 Mar 2005 10:32:42 +0100, Trond G. Ziarkowski [EMAIL PROTECTED] wrote: Hi, Have you tried to move your the error-page directive to between the welcome-file-list and taglib directives. Seem to remember

Re: error-page directive

2005-03-01 Thread Trond G. Ziarkowski
: Hi, Have you tried to move your the error-page directive to between the welcome-file-list and taglib directives. Seem to remember this happening to me some time ago as well. That seems to get rid of the message, but it doesn't seem to honour the directive, because I still get tomcats default

Re: error-page directive

2005-03-01 Thread David Smith
+0100, Ian van der Neut [EMAIL PROTECTED] wrote: On Tue, 01 Mar 2005 10:32:42 +0100, Trond G. Ziarkowski [EMAIL PROTECTED] wrote: Hi, Have you tried to move your the error-page directive to between the welcome-file-list and taglib directives. Seem to remember this happening to me some time ago

RE: error-page directive

2005-03-01 Thread Graba, Jan
for the proliferation of fairly trivial questions. Thanks in anticipation. Cheers. Jan -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 01 March 2005 13:27 To: Tomcat Users List Subject: Re: error-page directive The order matters. It's a requirement that comes from validating

Re: error-page directive

2005-03-01 Thread David Smith
Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 01 March 2005 13:27 To: Tomcat Users List Subject: Re: error-page directive The order matters. It's a requirement that comes from validating the web.xml against a DTD -- not anything that Tomcat itself requires. In the servlet 2.4

error-page directive gives a wrong response code to apache

2003-10-22 Thread Julien Oix
hi everyone, I have a problem with the error-page directive included in my web.xml The RPM's I use on a Linux RedHat top box : apache-1.3.27-2.7.1 tomcat4-4.1.18-full.1jpp mod_jk-ap13-1.2.2-1jpp so when apache gives a jsp to Tomcat, this one answers a code 200 instead of a 404 in the apache

Re: error-page directive gives a wrong response code to apache

2003-10-22 Thread Tim Funk
this snippet: %response.setStatus(HttpServletResponse.SC_NOT_FOUND);% -Tim Julien Oix wrote: hi everyone, I have a problem with the error-page directive included in my web.xml The RPM's I use on a Linux RedHat top box : apache-1.3.27-2.7.1 tomcat4-4.1.18-full.1jpp mod_jk-ap13-1.2.2-1jpp so when apache

Re: error-page directive gives a wrong response code to apache

2003-10-22 Thread Johann Uhrmann
Julien Oix wrote: hi everyone, I have a problem with the error-page directive included in my web.xml The RPM's I use on a Linux RedHat top box : apache-1.3.27-2.7.1 tomcat4-4.1.18-full.1jpp mod_jk-ap13-1.2.2-1jpp so when apache gives a jsp to Tomcat, this one answers a code 200 instead of a 404

RE: error-page directive gives a wrong response code to apache

2003-10-22 Thread Julien Oix
:[EMAIL PROTECTED] Envoye : mercredi 22 octobre 2003 14:25 A : Tomcat Users List Objet : Re: error-page directive gives a wrong response code to apache If you have a custom error page, its the job of the page to explicitly set the error code. This is because errors may *not* be errors

error-page directive ignored

2003-10-18 Thread Vano Beridze
Hello I have tomcat 4.1.27 RedHat 9 Sun jdk 1.4.2_01 Mozilla Firebird 0.7 here is the snippet from my web.xml servlet servlet-nameGeneralErrorServlet/servlet-name servlet-classcom.silkroad.srm.GeneralErrorServlet/servlet-class /servlet servlet-mapping

Re: error-page directive ignored

2003-10-18 Thread Tim Funk
The location of the error page must be a real page and not a servlet. (But a jsp will work too) With tomcat5 (actually servlet api 2.4), your error page can be a servlet. -Tim Vano Beridze wrote: Hello I have tomcat 4.1.27 RedHat 9 Sun jdk 1.4.2_01 Mozilla Firebird 0.7 here is the snippet from

Re: error-page directive

2003-10-09 Thread Carlos Pereira
Which versions of IE is that applicable to? (Graham Reeds) Sorry for the delay. IE v 6.0.2600 Regards, Carlos Pereira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: error-page directive

2003-10-06 Thread Carlos Pereira
I recall there was an issue with some version of IE: it had a feature: if the error page is less then x bytes then IE showes its ugly default error page. But if the error page is large enough (in terms of bytes) then it showes that. (Anton Tagunov) You are right! IE shows its default error

Re: error-page directive

2003-10-06 Thread Graham Reeds
I recall there was an issue with some version of IE: it had a feature: if the error page is less then x bytes then IE showes its ugly default error page. But if the error page is large enough (in terms of bytes) then it showes that. (Anton Tagunov) You are right! IE shows its default

Re: error-page directive

2003-10-05 Thread Anton Tagunov
Hello Carlos! CP IE shows it's default Error 500 - Internal Server Error page. I recall there was an issue with some version of IE: it had a feature: if the error page is less then x bytes then IE showes its ugly default error page. But if the error page is large enough (in terms of bytes) then

error-page directive

2003-10-03 Thread Carlos Pereira
I am using Tomcat 4.1.24 in Windows XP and I cannot define an error page. I have defined it in web.xml as error-page error-code500/error-code location/errorpage.hmtl/location /error-page and none of them works. The page displayed is Tomcat's default error page. The error-page tag

Re: error-page directive

2003-10-03 Thread Graham Reeds
- Original Message - From: Carlos Pereira [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 03, 2003 4:24 PM Subject: error-page directive I am using Tomcat 4.1.24 in Windows XP and I cannot define an error page. I have defined it in web.xml as error-page error

RE: error-page directive

2003-10-03 Thread Shapira, Yoav
To: [EMAIL PROTECTED] Subject: error-page directive I am using Tomcat 4.1.24 in Windows XP and I cannot define an error page. I have defined it in web.xml as error-page error-code500/error-code location/errorpage.hmtl/location /error-page and none of them works. The page displayed

RE: error-page directive

2003-10-03 Thread Carlos Pereira
Howdy, You may also have to disable Show Friendly Error Pages (or something similar) in Internet Explorer's Internet Options pages. (Yoav Shapira) Thanks. That worked fine, with both error-code and exception-type. It is not the best solution, though... users have to change their

RE: error-page directive

2003-10-03 Thread Shapira, Yoav
Howdy, You may also have to disable Show Friendly Error Pages (or something similar) in Internet Explorer's Internet Options pages. (Yoav Shapira) Thanks. That worked fine, with both error-code and exception-type. It is not the best solution, though... users have to change their

RE: error-page directive

2003-10-03 Thread Carlos Pereira
Instead of worrying so much about the appearance of your custom error pages, try to code your app not to get as many errors ;) (Yoav Shapira) Nice one there :) I do, but i wanted to make sure no error message with stack traces is sent to the user. And I use RuntimeExceptions for those

Error-page directive does nothing

2003-08-14 Thread pete . storey
Hi, we have a lot of occasions where I use the directive error-page error-code500/error-code location/errorPages/500x.jsp/location /error-page in a web.xml file but it does nothing, particularly for errors thrown by a servlet. I have upgraded now to Tomcat 4.1.27 as I have seen

error-page directive has no effect

2003-08-03 Thread pete . storey
Hi, ive got a problem currently with the error-page directive doing nothing when I use it in an app (on either tomcat 4.1.18 or .27). At the bottom of my app's web.xml, I have the following tag: error-page error-code500/error-code location/errorPages/500x.jsp/location /error-page

error when start tomcat if in the web.xml is the error-page directive

2002-12-13 Thread Dionisio Ruiz de Zarate
if in my web.xml i have this: error-page error-code404/error-code location/error.jsp/location /error-page the tomcat starts well but appears the next error. Can you help me to resolv it? thanks. ERROR: 13-dic-2002 13:19:14 org.apache.commons.digester.Digester error GRAVE: Parse Error at

Re: error when start tomcat if in the web.xml is the error-page directive

2002-12-13 Thread Uri Shohet
Make sure that error-page element appears after welcome-file-list and before taglib. The order of the elements in any XML file is very important. HTH, Uri On Friday 13 December 2002 14:22, Dionisio Ruiz de Zarate wrote: if in my web.xml i have this: error-page error-code404/error-code

RE: error when start tomcat if in the web.xml is the error-page directive

2002-12-13 Thread Pedro Nevado
PROTECTED]] Enviado el: viernes, 13 de diciembre de 2002 13:22 Para: [EMAIL PROTECTED] Asunto: error when start tomcat if in the web.xml is the error-page directive if in my web.xml i have this: error-page error-code404/error-code location/error.jsp/location /error-page the tomcat starts well

RE: error when start tomcat if in the web.xml is the error-page directive

2002-12-13 Thread Pedro Nevado
Verify the order of your elements in the web.xml file. -Mensaje original- De: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 13 de diciembre de 2002 13:22 Para: [EMAIL PROTECTED] Asunto: error when start tomcat if in the web.xml is the error-page directive

error-page directive does not catch HTTP STATUS 500 errors!

2002-01-09 Thread Moritz Mann
Hi all, I am using a tomcat 4.0.1 standalone running on Unix. I configured my web.xml like the following: error-page exception-typejava.lang.Throwable/exception-type location/errors/err-except.html/location /error-page error-page error-code500/error-code

error-page directive throw a java.lang.StackOverflowError

2001-04-12 Thread Stéphane BAUDET
Hello, I'm using Tomcat 3.2.1 under Windows 2000. In my web.xml descriptor, I've set up this error-page directive error-page error-code404/error-code location/404.html/location /error-page 404.html is a the root of my context. When I type an incorrect URL, I've got

RE: error-page directive throw a java.lang.StackOverflowError

2001-04-12 Thread Arne Borkowski \(borko.net\)
Does any of you know where I do wrong? Regards, Arne -Original Message- From: Stphane BAUDET [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 11:45 AM To: [EMAIL PROTECTED] Subject: error-page directive throw a java.lang.StackOverflowError Hello, I'm using Tomcat

RE: error-page directive throw a java.lang.StackOverflowError

2001-04-12 Thread Randy Layman
Generally, getting a stack overflow in this situation indicates that your error page has an error, which is handled by your error page, which has an error I would suggest removing the error page directive and then making a request for the error page. Once its working then add

RE: error-page directive throw a java.lang.StackOverflowError

2001-04-12 Thread Hunor Nam
- From: Arne Borkowski (borko.net) [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 3:40 PM To: [EMAIL PROTECTED] Subject: RE: error-page directive throw a java.lang.StackOverflowError Hi, I am using Tomcat 3.2.1 under RedHat Linux and also tried to configure my own error-pa

RE: error-page directive throw a java.lang.StackOverflowError

2001-04-12 Thread Arne Borkowski \(borko.net\)
Hi, everything is fine again, after I deleted the contents of the /usr/local/tomcat/work directory. Could someone explain to me, how the contents of this directory affects a rebooted server? And I "shutdown -r now" the Linux box. I am really new to Tomcat, so maybe this question is not too

RE: error-page directive throw a java.lang.StackOverflowError

2001-04-12 Thread Randy Layman
, the files persist across startup/shutdown. Randy -Original Message- From: Arne Borkowski (borko.net) [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 12, 2001 10:55 AM To: [EMAIL PROTECTED] Subject: RE: error-page directive throw a java.lang.StackOverflowError Hi