I am starting to build an application using Tomcat 5.0x and am having problems getting 
the
connection pool setup. Should I be using the 3.x or 2.x Mysql drivers?

The 2 files I have downloaded are:
mysql-connector-java-2.0.14.tar.gz
mysql-connector-java-3.0.15-ga.tar.gz

I am currently trying to get it working with the 3.x driver and have copied it into
$CATALINA_HOME/common/lib. 

However, when I try my sample webapp out I get this following error in the 
logs/catalina.out file:
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for 
connect URL
'null'
        at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)
        at 
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
        at chuck.DBTest1.init(DBTest1.java:20)
        at org.apache.jsp.test_jsp._jspService(test_jsp.java:50)
<snip>

Thanks for any help,
rhugga


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to