| Issue 292: | Instructions for install under tomcat6 | |
| 1 person starred this issue and may be notified of changes. | Back to list |
The information in the FAQ is incomplete, and partly wrong, at least for mysql.
The block I had to add to context.xml was the following, notice the use of
org.gjt.mm.mysql.Driver instead of javax.sql.DataSource:
<Resource
name="jdbc/ReviewDb"
type="javax.sql.DataSource"
username="gerrit2"
driverClassName="org.gjt.mm.mysql.Driver"
password="secret"
url="jdbc:mysql://localhost/reviewdb?autoReconnect=true"/>
I also had (on gentoo, and it should be the same on debian-based installs)
to fetch tomcat-dbcp.jar from the tomcat source archive and install it in
/usr/share/tomcat-6/lib, together with mysql-connector-java-5.0.8.jar.
Nov 11, 2009
#1
sop+code@google.com
Status:
Fixed
Oct 21, 2012
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |