Posted by bobparis
on February 24, 2013 at 2:13 PM PST
Ping Connection Pool failed for mysqlpool. Class name is wrong or classpath is not set for : com.mysql.jdbc.jdbc2.optional.MysqlDataSource
This is the error I get with the Glassfish server shipped with NetBeans 7.3.
I have the driver (mysql-connector-java-5.1.23-bin.jar) in the C:\Program Files\glassfish-18.104.22.168\glassfish\domains\domain1\lib\ext. I have added this to my classpath (in Environmantal Variables). I rebooted the machine after making the changes.
Same error message.
Windows 7 Service Pack 1
I have tried the driver (mysql-connector-java-5.1.23-bin.jar) in the C:\Program Files\glassfish-22.214.171.124\glassfish\domains\domain1\lib\ location. I have added this to my classpath (in Environmantal Variables). Followed by a reboot. No connection, same error message.
I AM able to create and connect JavaDB connection pools without any problem.