File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
C3P0 Connection Pooling with Tomcat
Joined: Mar 20, 2012
Sep 01, 2012 02:57:16
Hi to all,
Please suggest me how to configure c3p0 with
server for connection pooling . I am trying with below code
<Resource auth="Container" description="DB Connection" driverClass="com.mysql.jdbc.Driver" maxPoolSize="4" minPoolSize="2" acquireIncrement="1" name="jdbc/pooledDS" user="root" password="root" factory="org.apache.naming.factory.BeanFactory" type="com.mchange.v2.c3p0.ComboPooledDataSource" initialPoolSize = "4" jdbcUrl="jdbc:mysql://localhost:3306/ZOOM" />
But it not works, how to configure and to
my initial poolsize.
Joined: Jun 25, 2001
Sep 04, 2012 04:49:43
Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: C3P0 Connection Pooling with Tomcat
how to configure connection pooling in tomcat server?
Hibernate Connection Pooling.
How to configure c3p0 connection pool weblogic ??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014