I'm new to Tomcat, and need your help desperately. I followed the steps in Tomcat 5 JNDI Datasource HOW-TO to create database connection pool, but I always get
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause:
java.sql.SQLException: No suitable driver
When I create a conventional Connection using DriverManager, it works, and there's no problem with database queries.
My environments are Windows 2000; J2SE 1.4.2; Tomcat 5.0.16; MySQL 4.0.16
DB driver is com.mysql.jdbc.Driver
My extensive search online didn't get me anything. Can someone PLEASE tell me what is wrong, or give me a working example? Thanks!
org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause:
java.sql.SQLException: No suitable driver
When I create a conventional Connection using DriverManager, it works, and there's no problem with database queries.
My environments are Windows 2000; J2SE 1.4.2; Tomcat 5.0.16; MySQL 4.0.16
DB driver is com.mysql.jdbc.Driver
My extensive search online didn't get me anything. Can someone PLEASE tell me what is wrong, or give me a working example? Thanks!