tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Costacurta <...@wanadoo.be>
Subject Re: JNDI Resource: Cannot create JDBC driver of class '' for connect URL 'null'
Date Fri, 07 Nov 2003 17:10:50 GMT
It's working.
Sorry. It was simply a typing error.

On Thursday 06 November 2003 18:52, Bruno Costacurta wrote:
> 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
> 
> 
> 


---------------------------------------------------------------------
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