My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 292: Instructions for install under tomcat6
1 person starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Oct 2012


Sign in to add a comment
 
Reported by ydir...@gmail.com, Oct 7, 2009
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
FAQ updated.
Status: Fixed
Oct 21, 2012
#2 sop@google.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting