tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jignesh Patel <jpa...@bangtechnology.com>
Subject Re: database information
Date Mon, 09 Aug 2004 23:11:24 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message