*
The moose likes JForum and the fly likes Exception during installation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Exception during installation" Watch "Exception during installation" New topic
Author

Exception during installation

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Hello,

I'm getting the following exception when installing JForum 2.1.8 via the web installer:



This is happening on a Vista Ultimate x86 machine + JDK 6 + Tomcat 6 + MySQL 5.0.45. Any ideas how to fix it?
[originally posted on jforum.net by Ree]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
A quick guess is that there is a missmatch between your MySQL database encoding and your Java encoding settings. Make sure that your tables/database is set to at least UTF-8.
[originally posted on jforum.net by monroe]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
MySQL server and database charsets are set to utf8.

I also ran

on an empty database I created for JForum.
[originally posted on jforum.net by Ree]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
A google for this error showed that it's a common issue with some recent 5.0 MySQL JDBC driver versions. Try updating your JDBC driver jar to the latest from MySQL.

Here's a good thread talking about the problem.

http://forums.mysql.com/read.php?39,139534,139534#msg-139534
[originally posted on jforum.net by monroe]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Thank you, ugrading to the latest MySQL connector fixed the problem.

I'm wondering why JForum developers are still using mysql-connector-java-5.0.3-bin.jar which is over a year old?
[originally posted on jforum.net by Ree]
Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Helping support guys have job security... wait.. nobody gets paid for this... :lol:

Just simply being human and having other jobs to work at and it works fine on the developer/testers boxes.

But, fwiw, put a Jira issue in on it so that it is less likely to fall thru the cracks during the next release.
[originally posted on jforum.net by monroe]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception during installation
 
Similar Threads
new to db connection help needed
java.sql.SQLException: Access denied
java.sql.SQLException: Access denied
Instalà¤̀£o erro no startup. Error in config start up
MySQL Connection problem