Re: Customizing Default Error page when Webapp stopped Or not loaded
Thank you very much for the info Konstantin, is this applicable to Tomcat 5.5.9 ? that is the version we are using. However can we customize the class and make this internal error disappeared ? Please advice. On Sun, Nov 15, 2009 at 11:45 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2009/11/15 Arunkumar Janarthanan arunkumar.webad...@gmail.com: I am having problem when thew webapp stopped or not loaded for some reason tomcat shows the default error page though I have error page configured in web.xml under application root. Do I have to modify *org.apache.catalina.valves.ErrorDispatcherValve* class file ? It is known as https://issues.apache.org/bugzilla/show_bug.cgi?id=41007 Could anyone please advice if anyone already have implemented such change in this class file ? I have not heard of any implementation yet, though it might be that some do exist. Contributions are welcome. Many thanks Arun Janarthanan Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Customizing Default Error page when Webapp stopped Or not loaded
2009/11/16 Arunkumar Janarthanan arunkumar.webad...@gmail.com: Thank you very much for the info Konstantin, is this applicable to Tomcat 5.5.9 ? that is the version we are using. Sure, because this issue is an old one. I would even say that that is by design. Also, there might be a lot of other issues in 5.5.9, as well as those listed on http://tomcat.apache.org/security-5.html However can we customize the class On the conditions stated in the LICENSE and make this internal error disappeared ? I do not know, I have not tried it. They say your mileage may vary. Maybe a separate Valve can intercept this error and react appropriately. I do not see a need to change the default one. Contributions are welcome. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Customizing Default Error page when Webapp stopped Or not loaded
Hi Konstantin, Thank you very much,I will look for the fix or an alternate option to fix the issue. Once again many thanks. Cheers, Arun Janarthanan On Mon, Nov 16, 2009 at 2:00 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2009/11/16 Arunkumar Janarthanan arunkumar.webad...@gmail.com: Thank you very much for the info Konstantin, is this applicable to Tomcat 5.5.9 ? that is the version we are using. Sure, because this issue is an old one. I would even say that that is by design. Also, there might be a lot of other issues in 5.5.9, as well as those listed on http://tomcat.apache.org/security-5.html However can we customize the class On the conditions stated in the LICENSE and make this internal error disappeared ? I do not know, I have not tried it. They say your mileage may vary. Maybe a separate Valve can intercept this error and react appropriately. I do not see a need to change the default one. Contributions are welcome. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Customizing Default Error page when Webapp stopped Or not loaded
On 16/11/2009 19:00, Konstantin Kolinko wrote: 2009/11/16 Arunkumar Janarthananarunkumar.webad...@gmail.com: Thank you very much for the info Konstantin, is this applicable to Tomcat 5.5.9 ? that is the version we are using. Sure, because this issue is an old one. I would even say that that is by design. Also, there might be a lot of other issues in 5.5.9, as well as those listed on http://tomcat.apache.org/security-5.html However can we customize the class On the conditions stated in the LICENSE and make this internal error disappeared ? I do not know, I have not tried it. They say your mileage may vary. Maybe a separate Valve can intercept this error and react appropriately. I do not see a need to change the default one. You can create a custom error valve - look at the Tomcat source code to see what the default one does - read the Host element attribute errorReportValveClass notes in the standard implementation. http://tomcat.apache.org/tomcat-5.5-doc/config/host.html p Contributions are welcome. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Customizing Default Error page when Webapp stopped Or not loaded
I am having problem when thew webapp stopped or not loaded for some reason tomcat shows the default error page though I have error page configured in web.xml under application root. Do I have to modify *org.apache.catalina.valves.ErrorDispatcherValve* class file ? Could anyone please advice if anyone already have implemented such change in this class file ? Many thanks Arun Janarthanan
Re: Customizing Default Error page when Webapp stopped Or not loaded
2009/11/15 Arunkumar Janarthanan arunkumar.webad...@gmail.com: I am having problem when thew webapp stopped or not loaded for some reason tomcat shows the default error page though I have error page configured in web.xml under application root. Do I have to modify *org.apache.catalina.valves.ErrorDispatcherValve* class file ? It is known as https://issues.apache.org/bugzilla/show_bug.cgi?id=41007 Could anyone please advice if anyone already have implemented such change in this class file ? I have not heard of any implementation yet, though it might be that some do exist. Contributions are welcome. Many thanks Arun Janarthanan Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org