users@glassfish.java.net

Re: basic classloader / directory questions

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Fri, 15 Dec 2006 17:55:40 -0800

Mark,

Mark Hansen wrote On 12/15/06 07:36,:

> Can someone clarify a few basic points about the GlassFish class loaders?
>
> (1) Does everything (e.g., the Ant JARs) in the $GLASSFISH_HOME/lib
> directory end up on the Bootstrap loader's classpath or they System
> loader's classpath? If not, which resources are loaded?
> (2) In order to make a JAR available to all applications, in all
> domains, should I put it in $GLASSFISH_HOME/lib? or can I segregate
> it from the GlassFish JARs by putting it in a subdirectory such as
> $GLASSFISH_HOME/lib/myJARs ?


See the section "How do I control visibility scope of my libraries?"
in Siva's blog at

  http://blogs.sun.com/sivakumart/entry/classloaders_in_glassfish_an_attempt


Jan


>
> Thanks,
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>