jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Database connectivity problems " Watch "Database connectivity problems " New topic
Author

Database connectivity problems

Frank hogan
Greenhorn

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
.
Thanks
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) ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Database connectivity problems
 
Similar Threads
DB connectivity with javascript?
Database goes down for sometime?
Reconnection with Oracle
database created using easyPHP
Keep JBoss running when database is down