users@glassfish.java.net

Re: OSGi bundle cannot find classes in glassfishv3/glassfish/lib/*.jar files

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 13 Apr 2010 06:04:38 +0530

An OSGi bundle class loader can't see any classes from lib dir. So,
please package hibernate as a bundle either with your bundle or as a
separate one. I will assume making it part of your app will simplify
things, as you don't have to export any hibernate pkgs.

Thanks,
Sahoo

glassfish_at_javadesktop.org wrote:
> Actually, my searching revealed that my issue with javassist is documented elsewhere on the web. Incorporating hibernate into my bundle appears to be the way to go for now.
>
> So I guess my remaining question is just if there is any way to access the hibernate classes located in glassfishv3/glassfish/lib/ from inside an OSGi bundle (to save me from bundling hibernate). If not, no big deal.
>
> Thanks,
> Bryce
> [Message sent by forum member 'bhar99328']
>
> http://forums.java.net/jive/thread.jspa?messageID=396563
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>