-->
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.  [ 4 posts ] 
Author Message
 Post subject: Idle c3p0 settings for production
PostPosted: Thu Jan 29, 2004 12:35 pm 
Beginner
Beginner

Joined: Thu Oct 23, 2003 1:43 pm
Posts: 23
Hi,

I'm facing some problems figuring out the good settings for hibernate connection pooling. I couldn't able to access the database with the following settings after sometime.

hibernate.c3p0.max_size 30
hibernate.c3p0.min_size 5
hibernate.c3p0.timeout 5000
hibernate.c3p0.max_statements 0

Please advice. We are on production currently and couldnt able to make it work.

Regards,
Raghu


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 29, 2004 5:17 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
MySQL? Anyways, set c3p0.validate = true


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 29, 2004 6:23 pm 
Beginner
Beginner

Joined: Thu Oct 23, 2003 1:43 pm
Posts: 23
We are on Oracle. What does that setting do?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 30, 2004 6:31 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Validates the connections before giving them out of the pool.


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

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.