You are surely getting this when trying to create a connection pool in glassfish. The reason is that the jar file of mysql database is missing. In order to solve it if don't already have the mysql connector you may get one from here and add it to the following location under your glassfish directory:
C:\glassfishv3xxx\glassfish\domains\domainxxx\lib\ext
Restart your glassfish server and access the admin console. Hopefully from now on you will be able to ping your pool successfully.
It is also important to note that Ping failed Exception - Class name is wrong or classpath is not set for : error is applicable to other database. You can solve it as mentioned earlier by downloading the corresponding jar of the given database.
C:\glassfishv3xxx\glassfish\domains\domainxxx\lib\ext
Restart your glassfish server and access the admin console. Hopefully from now on you will be able to ping your pool successfully.
It is also important to note that Ping failed Exception - Class name is wrong or classpath is not set for : error is applicable to other database. You can solve it as mentioned earlier by downloading the corresponding jar of the given database.
Thanks for sharing, nice post! Post really provice useful information!
ReplyDeleteAn Thái Sơn với website anthaison.vn chuyên sản phẩm máy đưa võng hay máy đưa võng tự động tốt cho bé là địa chỉ bán máy đưa võng giá rẻ tại TP.HCM và giúp bạn tìm máy đưa võng loại nào tốt nhất hiện nay.