Global custom 503 error page

2006-11-21 Thread Veit Guna
Hi. Is it really true, that one can't create at least a global error page for 503 errors in tomcat? I understand, that a webapp that is stopped, can't serve it's own custom 503 error page. Sounds clear. But a general one should be possible?! I'm using tomcat behind apache and if tomcat isn't star

Re: Global custom 503 error page

2006-11-21 Thread Len Popp
There's no easy way. The 503 error page is hard-coded in org.apache.catalina.valves.ErrorReportValve. You can replace that class with your own implementation, specified by the attribute errorReportValveClass. (I haven't tried that myself, I just read about it in the Tomcat docs.) -- Len On 11/20