• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection Pool!!

 
Rajeev Iyer
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!!
When the DB server is down, the connection pool code returns a null object.
What should I do so that I need not restart the web server when the database is down and still get fresh connections?
Thanks...
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IF the database is down, you won't be able to get a connection.
Do you mean what do you need to do AFTER YOU GET THE DATABASE BACK UP to make the Connection Pool refresh all it's connections to be valid?
 
Rajeev Iyer
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, thats what I exactly need...
Thanks....
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic