users@glassfish.java.net

Re: ConnectionPool "Class name is wrong" GF v2.1 ??

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Sat, 3 Oct 2009 15:43:53 +0200

ok, I added the driver to the domain/domain1/lib/ext and it works..

2009/10/3 Felipe Gaścho <fgaucho_at_gmail.com>:
> I am trying to run my resources script in a brand new installation of
> Glassfish v2.1:
>
> but this line:
>
> asadmin create-jdbc-connection-pool --datasourceclassname
> com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource --restype
> javax.sql.DataSource --property
> "User=admin:Password=adminadmin:URL=jdbc\:mysql\://localhost\:3306/arena"
> jdbc/arenaPool
>
> causes:
>
> Class name is wrong or classpath is not set for :
> com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
>
>
> why ?
>
> what is the correct name ?
>
> --
> Looking for a client application for this service:
> http://fgaucho.dyndns.org:8080/arena-http/wadl
>



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/arena-http/wadl