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)
--
------------------------------------------
Felipe Gaścho
10+ Java Programmer
CEJUG Senior Advisor