Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deadlock

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to perform a standard install on my tomcat 5.5.27 server but I am getting deadlock errors. I have downloaded the war (2.1.8) and mapped it to /jforum

When I run the app at http://localhost:8080/jforum/install/install.jsp I get a deadlock

N.B. I have also tried to perform a manual install but I get the same results

I have attached the stacktrace

Help!!
[originally posted on jforum.net by thobson]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry that was a typo ... i'm trying http://localhost:8080/jforum/install.jsp
[originally posted on jforum.net by thobson]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The most likely cause of this is not using the correct JDBC driver for your version of MySQL. Eg., if you're using an older version of MySQL, you may need to downgrade the JDBC driver that comes with jForum.


[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using mysql 5.1.24 and I see JForum uses mysql-connector 5.0.3 so I am assuming that this is ok?
[originally posted on jforum.net by thobson]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might upgrade to the latest JDBC driver. A quick google of "c3p0 deadlock mysql 5.1" came up with various MySQL issues about C3P0 and deadlocks. Most seem to be resolved with newer drivers.
[originally posted on jforum.net by monroe]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic