users@glassfish.java.net

Re: problems with V3 b74.2

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Mon, 11 Jan 2010 07:31:46 +0100

I have it in glassfish/domains/domain1/lib/ext

On Mon, Jan 11, 2010 at 7:31 AM, Shalini Muthukrishnan
<Shalini.Muthukrishnan_at_sun.com> wrote:
> 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)
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>



-- 
------------------------------------------
   Felipe Gaścho
   10+ Java Programmer
   CEJUG Senior Advisor