Hey,
 Thanks Chris, That was just a typo. Thanks for pointing it out. But in real
configuration was was not commented. It was some other config which I was
trying and forgot to uncomment it in posting.



Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Yagnesh,
> 
> On 11/16/2009 9:09 AM, Yagnesh Chawda wrote:
>>  My bean definition is as follows for DBCP:
>> 
>>     <bean id="dataSource" destroy-method="close"
>> class="org.apache.commons.dbcp.BasicDataSource">
>>          <!--property name="driverClassName"
>> value="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"/>
>>          <property name="url" value="${db.url}"/>
>>          <property name="username" value="${db.user}"/>
>>          <property name="password" value="${db.pass}"/>
>>          <property name="initialSize" value="40"/>
>>          <property name="minIdle" value="35"/>
>>          <property name="maxActive" value="95"/>
>>          <property name="maxWait" value="20000"/ -->
>>      </bean>
> 
> Your bean appears to be almost entirely commented-out. Is this your real
> configuration?
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAksCE8cACgkQ9CaO5/Lv0PDaRQCfWQPncqd/ykRg9AD4M43ag8FJ
> UKkAn0sSdb3b/pUDp9RDDV9KJG1noqys
> =MAA7
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Tomcat-DBCP-Connection-Pooling-to-MySQL-limited-number-of-connection-issue-in-Spring2.5-%2B-Hibernate3-%2B-commons-DBCP1.2-tp26372475p26384679.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to