See if this blog answers your questions:
http://blogs.sun.com/sivakumart/entry/classloaders_in_glassfish_an_attempt
Regards,
-marina
gjrwebber wrote:
>
>
> gjrwebber wrote:
>
>>
>>
>>Marina Vatkina wrote:
>>
>>>Does it work if you put Foo.class into a jar in gf/lib dir?
>>>
>>
>>For some reason this didn't work. Giving a bunch of Linkage errors.
>>
>>
>
>
> Ok, I just put the "model" classes in a jar file and added them to gf/lib
> dir and that did it! All working. So what does that mean? Is there a bug
> somewhere in GF? Or maybe Grizzly or Hibernate?
>
> It is strange that this only happens for this particular hibernate mapping.
>
> Thanks for you help.
>