tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Polisher <cpol...@surewest.net>
Subject Re: programming question
Date Sat, 26 Feb 2011 19:03:15 GMT
Mark Eggers wrote:
> When the database is shut down, I get exception messages logged (you do log 
> exceptions, right?). Pages that depend on database content are missing that 
> content.
> 
> When the database is started up again, a refresh of the pages displays the 
> content coming from the database.
> 
> Better handling of the exception (bubbling up to the controller level) would 
> allow me to display an appropriate error or maintenance page.

Or, you could do what $PRODUCT (million U.S. dollar Portal product)
does: start writing to your log in a tight loop and never come back.
I'm not bitter...
-- 
Charles Polisher

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message