Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes Connection Pooling in Tomcat 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 » Products » Tomcat
Bookmark "Connection Pooling in Tomcat" Watch "Connection Pooling in Tomcat" New topic
Author

Connection Pooling in Tomcat

Sam Tilley
Ranch Hand

Joined: Dec 05, 2001
Posts: 160
Hi, i have an application that accesses a sql database using tomcat. However despite first ensuring all connections are closed, and then using ConnectionPooling to ensure that all connections are closed it seems that connections still exist to my database even though they should all be closed down.
I have since found out that it might be Tomcat and may involve connection pooling on Tomcat to ensure that connections are closed when not being used, i have looked around but not found any really good info on altering Tomcat, an application i haven't spent much time on.
Does this sound right and can anyone help me sort this out
Thanks


Sam Tilley SCJP, SCWCD
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Connection Pooling in Tomcat
 
Similar Threads
Closing connection
Connection Pool
StaleConnectionException
Help please!!! Is there a method for closing sessions java-side?
tomcat 4 and connection pool