-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: c3p0 Connection Pooling problem
PostPosted: Thu Jan 23, 2014 6:43 am 
Newbie

Joined: Mon Jul 29, 2013 2:26 am
Posts: 1
Hi,

I am using Hibernate with mysql database in my stand alone program.
I am getting connections problem with my c3p0 connection pool.
My program getting connection from pool but not giving back connection to pool.The maximum connections size given is 150 after getting 147 connections the sever is giving "too many connection" exception and program hangs. I enabled c3p0 log, below are log entries.

[23/01/14 15:12:44:304 IST] impl.C3P0PooledConnectionPool[Method:finerLoggingTestPooledConnection,Line:315] DEBUG Testing PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@47db5ae] on CHECKOUT.
[23/01/14 15:12:44:306 IST] impl.C3P0PooledConnectionPool[Method:finerLoggingTestPooledConnection,Line:319] DEBUG Test of PooledConnection [com.mchange.v2.c3p0.impl.NewPooledConnection@47db5ae] on CHECKOUT has SUCCEEDED.
[23/01/14 15:12:44:307 IST] resourcepool.BasicResourcePool[Method:trace,Line:1644] DEBUG trace com.mchange.v2.resourcepool.BasicResourcePool@690a6013 [managed: 48, unused: 0, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@f0f9b31)
[23/01/14 15:12:44:309 IST] resourcepool.BasicResourcePool[Method:trace,Line:1644] DEBUG trace com.mchange.v2.resourcepool.BasicResourcePool@690a6013 [managed: 48, unused: 0, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@f0f9b31)


Please help me thanks in advance.

Regards,
Bhanu


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.