Issue Details (XML | Word | Printable)

Key: HHH-3189
Type: Task Task
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jean-Philippe Bouchard
Votes: 3
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Hibernate Core

Update c3p0 to 0.9.1.2

Created: 18/Mar/08 11:23 AM   Updated: 03/Apr/08 10:09 AM
Component/s: core
Affects Version/s: 3.2.5
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File borked.txt (40 kB)

Environment: Tomcat 5.5, Hibernate 3.2.5, MySQL 4.1.11a-4sarge, c3p0 0.9.1


 Description  « Hide
I run a pretty busy site and every 24 hours or so, the system completely locks up and I have to restart tomcat. I investigated and the problem occurs in c3p0 which I use for my connection pooling. I attached a file containing the stack traces (obtained with JConsole) of some of the http processor threads when the system locks up. Using JConsole, I also tried to run softResetAllUsers() on the pooled datasource when the system is locked up and that fixes the issue as well.

In the change log for c3p0 0.9.1.2, they mention a fix of a deadlock issue so I tried the new version and the problem doesn't occur anymore.



 All   Comments   Work Log   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Jean-Philippe Bouchard added a comment - 03/Apr/08 10:09 AM
Actually, the problem still occurs, even with 0.9.1.2. I'll bring it up with the c3p0 folks. It may still be a good idea to upgrade to the latest version though...