users@glassfish.java.net

Re: Glassfish v2ur2 doesn't find jdbc driver

From: Wolfram Rittmeyer <w.rittmeyer_at_jsptutorial.org>
Date: Sun, 12 Jul 2009 12:04:33 +0200

glassfish_at_javadesktop.org wrote:
(...)
> I get the error message: "java.sql.SQLException: No suitable driver found for jdbc:mysql://MapleDate:3306/lac" <- the value I provided for the driverClass parameter. It has evidently gotten the correct values for driverClass, etc. from the web.xml, but is not finding the mysql...jar file to load the driver from.

This is the dbUrl. The class should look like com.mysql.jdbc.Driver (I
actually do not know which class is the JDBC driver for mysql, since I
use other databases, but it should be pretty close).

--
Wolfram Rittmeyer