In what application server is your application running?
Do you have any connection pooling?

- Glenn




"Scott Purcell" <[EMAIL PROTECTED]> 
01/06/2005 10:05 AM
Please respond to
"Struts Users Mailing List" <user@struts.apache.org>


To
<user@struts.apache.org>
cc

Subject
Seeking Advice Error Handling






Hello,

I have created a site with a mysql database back-end, and full struts 
front end. I have a filter to ensure the creation of some session app 
objects, and the site is pretty clean.

But over the weekend, I found a problem that I am seeking advice from. For 
some reason, the mysql database went down, causing the site to be all 
screwed up. I have extended the RequestProcessor but can not figure out 
how to handle errors from the database.

I would like to in the requestProcessor extended class, possibly do a 
simple query against a known table, and if the result is null, switch them 
to a site down action class.

Can this be done in the requestProcessor area?

Any advice would be appreciated.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to