users@glassfish.java.net

Re: problems with V3 b74.2

From: Shalini Muthukrishnan <Shalini.Muthukrishnan_at_Sun.COM>
Date: Mon, 11 Jan 2010 12:01:45 +0530

Hi Felipe,

Do you have the mysql driver jar copied in the glassfish/lib directory.

Thanks,
Shalini.

Felipe Gaścho wrote:
> I happened once but I cannot remember the reason:
>
> [exec] -------- Deploying to Server Version = GlassFish v3 (build 74.2)
> [exec] Application deployed successfully with name arena-puj and
> with the following warning(s):
> [exec]
> [exec] Cannot drop tables for application arena-puj. The expected
> DDL file arena-puj_arena-model_arenapuj_dropDDL.jdbc is not available.
> [exec]
> [exec] Cannot create tables for application arena-puj. The
> expected DDL file arena-puj_arena-model_arenapuj_createDDL.jdbc is not
> available.
> [exec]
> [exec] Exception [EclipseLink-4002] (Eclipse Persistence Services
> - 2.0.0.v20091127-r5931):
> org.eclipse.persistence.exceptions.DatabaseException
> [exec] Internal Exception: java.sql.SQLException: Error in
> allocating a connection. Cause: Class name is wrong or classpath is
> not set for : com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
> [exec] Error Code: 0
>
>
> why it asks for *.jdbc files and what is the problem with the
> connection pool name ? (it works in another machine, but when I tried
> a fresh installation it failed with the above stack trace)
>
>