users@glassfish.java.net

Configuration of jdbc connection pool with mysql

From: <forums_at_java.net>
Date: Sat, 25 Jun 2011 06:17:07 -0500 (CDT)

Hi I am trying to create a connection pool with mysql but it don't work at
all. I followed the tutorial of glassfish to make it.

When I make a ping commande i 've got:

Ping Connection Pool for MYSQLPOOL is Failed. Ping failed Exception - Class
name is wrong or classpath is not set for :
com.mysql.jdbc.jdbc2.optional.MysqlDataSource Please check the server.log for
more details.

So i went to JVM parameter and surprise, system classpath can't be configure
in glassfish v3.

I went to the domain1/config/domain.xml I make the
path/mysql-connector-java-5.1.16-bin.jar in system classpath=""

and I restart glassfish.

Nothing change except of the path of my conector displayed in the glassfish
interface in JAVA system classpath.

But i have always the same error.


--
[Message sent by forum member 'hamonvi']
View Post: http://forums.java.net/node/815926