>The only problem now is:
>Caused by: java.sql.SQLException: No Database Selected
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2928)
seems to work when I threw away the url property on the connection pool
Kind regards,
Peter Havelaar
----- Original Message -----
From: "Marina Vatkina" <Marina.Vatkina_at_Sun.COM>
To: <persistence_at_glassfish.dev.java.net>
Sent: Tuesday, September 12, 2006 7:52 PM
Subject: Re: Hibernate in Glassfish
The classpath is printed in the server log at each server startup.
Can you check if you see the same problem with jdk 5?
thanks,
-marina
Peter Havelaar wrote:
> At the moment I am using:
> jrockit-1.5.0
>
> Regards,
> Peter
>
> ----- Original Message -----
> From: "Marina Vatkina" <Marina.Vatkina_at_Sun.COM>
> To: <persistence_at_glassfish.dev.java.net>
> Sent: Tuesday, September 12, 2006 6:34 PM
> Subject: Re: Hibernate in Glassfish
>
>
> Hi Peter,
>
> We saw this type of strange errors with some versions of jdk 6. Which one
> are you using?
>
> thanks,
> -marina
>
> Peter Havelaar wrote:
>
>>Hi guys,
>>
>>I do not know if this is the appropriate place to ask, but I tried to
>>access the forum and sees me as a guest when I login and am unable to
>>post a topic.
>>
>>I am trying to use Hibernate with glassfish and have placed the jar
>>files of hibernate-core, hibernate-entitymanager and
>>hibernate-annotations in the glassfish/lib directory. In the lib
>>directory I have also put the depending jars for hibernate-core, amongst
>>which: cglib-2.1.3.jar, but still I get
>>java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Enhancer
>>when I try to start the domain. This is strange because unzip -l
>>cglib-2.1.3.jar | grep Enhancer shows the class file is there.
>>This must be some kind of classloader conflict, but all the jars are in
>>glassfish/lib.
>>How can I get this to work?
>>
>>Thanks in advance.
>>
>>Peter Havelaar
>>Jabbah.net
>>