QM, I want to inform to my application that database server is down so in turn display appropriate error page to users. As well as all connections should get closed in the pool.
And when database gets restart application again build connection pool. -Jignesh On Mon, 2004-08-09 at 09:30, QM wrote: > On Mon, Aug 09, 2004 at 06:56:44PM -0400, Jignesh Patel wrote: > : Thanks QM for response. > > Not a problem. > > > : Can I get any reading stuff on this topic. > : Please provide me the url which talks about it. > > I'm not sure I understand. I thought you'd answer my questions (e-mail > included below) such that I could point you in the right direction. > > -QM > > > : On Thu, 2004-08-05 at 09:20, QM wrote: > : > On Thu, Aug 05, 2004 at 11:54:58AM -0400, Jignesh Patel wrote: > : > : I want to inform my tomcat server that the database server is shutting > : > : down or restarting. > : > : > : > > : > Please define the term "inform": I'm sure your app will notice the > : > database is down, when it tries to fetch data and gets a "connection > : > refused" message. ;) > : > > : > > : > : Can JDBC Realm will do the job? > : > > : > I'm not sure what a Realm has to do with database access, except that > : > this particular Realm impl uses one as its backend. > : > > : > What, specifically, is your goal here? > : > > : > Perhaps you're trying to send some app-level ping to the database to > : > ensure it's up before you attempt to fetch data? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
