|
[
Permlink
| « Hide
]
Ludovic Dubost added a comment - 22/Dec/06 14:34
These tasks need to be verified and put in the planning if these are bugs
For more information on the problem see http://forum.hibernate.org/viewtopic.php?t=947246&highlight=apparent+deadlock+c3p0
We need to try using c3p0-0.9.1-pre11 I happened to have recently resolved a similar situation in a different project. I was using a MySLQ JDBC driver mysql-connector-java-3.1.14-bin.jar with a MySQL server from 4.0. That gave me the same symptoms, using c3p0-0.9.1-pre11. When I backed off to mysql-connector-java-3.0.17-ga-bin.jar, the symptoms went away. This also fixed a problem I was seeing in which c3p0 wasn't keeping alive pooled connections using hibernate.c3p0.idle_test_period.
Probably the same thing is happening here. The install of Xwiki I have has mysql-connector-java-3.1.7-bin.jar and my site is using MySQL 4.0. I bet this explains it: it is not compatible with MySQL 4.0. I heard that MySQL 4.0 is no longer supported by mysql.com, and we are in the process of upgrading to 4.1, and beyond. So, perhaps this ticket should be closed indicating that Xwiki isn't compatible with MySQL 4.0 (due to c3p0). ==Leonard Thanks Leonard for the explanation! Closing the issue.
I have added the information on http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL -Vincent |
|||||||||||||||||||||||||||||||||||||||||||||||||