This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes datasource - collection pooling w/Tomcat 5 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 "datasource - collection pooling w/Tomcat 5" Watch "datasource - collection pooling w/Tomcat 5" New topic
Author

datasource - collection pooling w/Tomcat 5

Dave Bosky
Ranch Hand

Joined: Dec 16, 2003
Posts: 72
Could someone provide an example of using a datasource with connection pooling? I've got the datasource set up correctly and is working fine but I need to use connection pooling and have no idea of where to begin.

I'm new to the Java/Tomcat world and but connection pooling seems pretty common. Examples...please..

Thanks,
Dave
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

so what you have is a non-pooled DataSource ?

Have you tried the example in Tomcat docs ?

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html

The section entitled 'Database Connection Pool (DBCP) Configurations' will be of particular interest to you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: datasource - collection pooling w/Tomcat 5
 
Similar Threads
tomcat related query
Transactions in Tomcat
DataSource Connection Pooling
Connection Pooling samples
Connection Pooling