https://bugzilla.redhat.com/show_bug.cgi?id=819087
--- Comment #6 from Eric Hopper <eric-bugs2(a)omnifarious.org> ---
It still doesn't work for me... in /etc/tomcat/Catalina/localhost/gerrit.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context antiJARLocking="true" allowCasualMultipartParsing="true"
path="/gerrit">
<Resource name="jdbc/ReviewDb" auth="Container"
type="javax.sql.DataSource"
factory="org.apache.commons.dbcp.BasicDataSourceFactory"
driverClassName="org.h2.Driver"
url="jdbc:h2:/var/opt/gerrit/db/ReviewDB"
username="" password=""
maxActive="20" maxIdle="10" maxWait="-1"/>
</Context>
And here is what I see in /var/log/tomcat/catalina.out:
Jun 01, 2012 6:01:03 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the java.library.path:
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jun 01, 2012 6:01:03 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jun 01, 2012 6:01:03 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jun 01, 2012 6:01:03 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 323 ms
Jun 01, 2012 6:01:03 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jun 01, 2012 6:01:03 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
Jun 01, 2012 6:01:03 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor
/etc/tomcat/Catalina/localhost/gerrit.xml
Jun 01, 2012 6:01:05 PM org.apache.catalina.core.NamingContextListener
addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could not
create resource factory instance [Root exception is
java.lang.ClassNotFoundException:
org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory]
--
You are receiving this mail because:
You are on the CC list for the bug.