newtonandebe / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

ODK Aggregate v1.0 beta windows-installer fails with MySQL configuration on Tomcat 6 #230

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the ODK Aggregate v1.0 beta windows-installer
2. Configure to run with MySQL
3. Drop the generated WAR in Tomcat 6

What is the expected output? What do you see instead?
Tomcat deploys WAR.

Tomcat fails to deploy WAR with:
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

What version of the product are you using? On what operating system?
v1.0 beta windows-installer

Windows XP Pro SP3

Please provide any additional information below.
I looked at the WEB-INF\lib folder and did not see the MySQL connector jar. I 
believe that is why I'm getting this exception.

Workaround:
Download the mysql-connector-java-5.X jar and place it in $CATALINA_HOME\lib

Original issue reported on code.google.com by david.ro...@gmail.com on 8 Jun 2011 at 5:51

GoogleCodeExporter commented 9 years ago

Original comment by wbrune...@gmail.com on 16 Jun 2011 at 6:28

GoogleCodeExporter commented 9 years ago

Original comment by wbrune...@gmail.com on 16 Jun 2011 at 6:40

GoogleCodeExporter commented 9 years ago
This is as intended.  The mysql connector/J has a non-Apache-2 license.
We have removed it from the configuration because of this.

During the configuration wizard, on the download-and-install step for MySqL, 
there are 2 steps called out, one is to download and install MySQL.  The other 
is to download and install the Connector/J to the catalina/lib directory, as 
you did.

Need to further research implications of including the connector/J with the 
bundled app and whether this is a licensing issue.

Original comment by mitchellsundt@gmail.com on 20 Jun 2011 at 6:56

GoogleCodeExporter commented 9 years ago
Split the install-mysql page into two pages to make it clearer that there are 
two steps involved.

Original comment by mitchellsundt@gmail.com on 20 Jun 2011 at 11:08

GoogleCodeExporter commented 9 years ago
Change is available in beta rev. 2 installer.

Original comment by mitchellsundt@gmail.com on 21 Jun 2011 at 1:24

GoogleCodeExporter commented 9 years ago
Alright, thanks

Original comment by david.ro...@gmail.com on 21 Jun 2011 at 3:23