-->
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 deadlock exception
PostPosted: Wed Dec 07, 2005 6:34 am 
Newbie

Joined: Tue Dec 06, 2005 10:18 am
Posts: 1
Hi All,
I have a problem with c3p0 connection pool on hibernate 2.1. My application works on: Tomcat 5.0.28; MySql 4.0.26, JDK 1.4.2_06and we tried both c3p0 0.9.0 and 0.9.0.2. We have a Quarz job implemented that connects to MySql and do some calculation once a day. The problem is the calculation is done in early morning so nobody has been using DB for a few hours. The first try to login in throws deadlog exception (please see JIRA-151/JIRA-153) and this "upset" the Quarz job. Any idea how to solve the problem or how to debug it?
The hibernate configuration looks as follows:
Code:
hibernate.cache.use_query_cache=true
# For c3p0
hibernate.c3p0.min_size=20
hibernate.c3p0.max_size=100
hibernate.c3p0.timeout=1800
hibernate.c3p0.max_statements=250
hibernate.c3p0.acquire_increment=5
hibernate.c3p0.idle_test_period=100
hibernate.c3p0.validate=false

Thx,
Tomasz


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.