geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammed Nour" <nour.moham...@gmail.com>
Subject Re: EAR Classloader
Date Mon, 12 Jun 2006 09:45:47 GMT
On 6/12/06, Markus Wolf <markus@emedia-solutions-wolf.de> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> >     Where these jars are deployed?, do they reside under the
> >     <WEB_APP_DIR>/WEB-INF/lib directory or what?, generally for a web
> >     application, referenced jars should reside under this dir or more
> >     common lib dir, the one of the web container for example.
> >
> The jars are in the root of the EAR archive, because they are common
> libraries which are not only used in the WAR application.
> If I put them also in the WEB-INF/lib directory it does work, but I
> think there will be classloading issues at a later time and also this is
> a duplication of the compiled code inside the EAR file.


Is there any other code in this EAR, or just the WAR and these set of JARs?,
If yes so I think you can put the JARs in the lib dir for this EAR, or you
can put them under the repository dir and mention that you depend on them.

I would deploy the JAR libraries as EJB archives, but there are no EJBs
> inside, and I do need a descriptor which needs at least one EJB...
>
> > what classloader hierarchy does geronimo implement for EAR archives?
> > I have an EAR archive I want to deploy. It contains some JAR libraries
> > and a WAR archive. But when the WAR archive is loaded and the
> > application is started than I get some CNF exceptions for classes which
> > reside in the JAR libraries. Note that the jar files are no EJB
> > modules.
> >
>
> - --
> >
> > emedia-solutions wolf
> > Wedeler Landstrasse 63
> > 22559 Hamburg
> > (040) 550 083 70
> >
> >>  web: http://www.emedia-solutions-wolf.de
> >> mail: markus@emedia-solutions-wolf.de
> >>  pgp: http://wwwkeys.de.pgp.net
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEjTYfeyJE91ndMG4RAgIYAKCBgdR9p449BqthaNoff63h/UPnEACfSc79
> ppwpWP6MdayTM9SkZNq//Mg=
> =FjY6
> -----END PGP SIGNATURE-----
>

Mime
View raw message