File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
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) ?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Database connectivity problems
Similar Threads
database created using easyPHP
DB connectivity with javascript?
Database goes down for sometime?
Reconnection with Oracle
Keep JBoss running when database is down