users@glassfish.java.net

Re: I have a question about the domain1's /lib/applibs directory

From: Sivakumar Thyagarajan <Sivakumar.Thyagarajan_at_Sun.COM>
Date: Tue, 06 Mar 2007 11:09:41 +0530

If the adf faces libs are required for only one application in the domain, then
the jars could be copied to lib/applibs and an
$ asadmin deploy --libraries adf-faces-api.jar adf-faces-impl.jar
adfshare-3549S.jar FooApp.ear
would do the trick.

However if you want all your applications in the domain to "see" the adf jars,
you could copy the jars to domain-dir/lib and restart your domain and deploy
your applications using
$ asadmin deploy FooApp.ear.

More information at [1]

Thanks
--Siva.
[1] See Q: How do I control visibility ... at
http://blogs.sun.com/sivakumart/entry/classloaders_in_glassfish_an_attempt

Todd Patrick wrote:
> Right now, I have the following jars in my domain1's lib directory:
>
> adf-faces-api.jar
> adf-faces-impl.jar
> adfshare-3549S.jar
>
> Would it be better to install these in the domain1's lib/applibs
> directory?
>
> Reading the classloader chapter, I understand that the applibs directory
> is used for the application scope, added to application class loader
> automatically.
>
> Thanks,
>
> --Todd
> -----------------------------------------
> NOTICE: This email message is for the sole use of the intended
> recipient(s)
> and may contain confidential and privileged information. Any
> unauthorized
> use, disclosure or distribution is prohibited. If you are not the
> intended
> recipient, please contact the sender by reply email and destroy all
> copies
> of the original message.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>