my dog learned polymorphism
The moose likes JDBC and Relational Databases and the fly likes Database connectivity problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Database connectivity problems " Watch "Database connectivity problems " New topic

Database connectivity problems

Frank hogan

Joined: May 01, 2006
Posts: 3
I am using Visualge Java 4.0, using ConnectionPool class to create a set of connections. Watz happening is when my TOMCAT server goes down or for for that matter of fact some unknown reason how do I make sure to re-establish connectivity.
Also when transaction fails or database goes down and bad connection exists in the pool what do I do if someother TX is trying to use it
Maximilian Xavier Stocker
Ranch Hand

Joined: Sep 20, 2005
Posts: 381
Are you trying to roll your own connection pool? Why would you desire to do this when there are so many out there already (and open source free ones as well) ?
jQuery in Action, 3rd edition
subject: Database connectivity problems
It's not a secret anymore!