-->
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: Hibernate - c3p0 application reached to max conn. & hang
PostPosted: Thu Apr 30, 2015 6:19 am 
Newbie

Joined: Thu Apr 30, 2015 12:42 am
Posts: 1
Hi,

ISSUE: My program always reached at max pool connection limit and after that it get hanged. For continuing the process I have to restart my application, else no option lefts for me. The app does not seem to return connections to the pool so that can be uesed for other request.

I am using hibernate-c3p0 version 4.2.7.SP1 also tried 4.3.9.Final.
I am using Postgresql for database.

I google for this issue and found many posts, out of that some have mention that I may be possible that your connection are keep unclosed, so such condition occured.
I have checked in my code, my connection is getting closed. Because I am using "Try with Resource" clause that close the open resource automatically.

I also tried with different Hibernate Properties's value to each time my program reached at max pool connection.




Can anyone let me khow which c3p0 version I should use ? Is it known hibernate c3p0 issue ?


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.