tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Costacurta <...@wanadoo.be>
Subject JNDI Resource: Cannot create JDBC driver of class '' for connect URL 'null'
Date Thu, 06 Nov 2003 17:52:51 GMT
Hi All,

I simply followed the sample provided by Tomcat documentation (4.1.29) about 
JNDI Resource (DBCP) and MySQL but received the following error:

Cannot create JDBC driver of class '' for connect URL 'null', cause: 
No suitable driver

However MySQL and JDBC driver settings seems correct as a connection  like:
(...) 
<sql:setDataSource  
	var="conn"
	dataSource="jdbc:mysql://localhost/test,com.mysql.jdbc.Driver,bruno,password" 
/>
(...)  works very fine.

Thanks for any clue, explanation or working configuration files.

My config is:

Tomcat 4.1.29
MySQL v4.0.14
JDBC driver: mysql-connector-java-3.0.9-stable:


Thanks.
Bruno


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message