users@glassfish.java.net

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

From: Todd Patrick <Todd.Patrick_at_dtn.com>
Date: Tue, 6 Mar 2007 08:08:28 -0600

Sivakumar:

Thank you for the explanation, it is very clear what I need to do.

Thanks,

--Todd

-----Original Message-----
From: Sivakumar.Thyagarajan_at_Sun.COM
[mailto:Sivakumar.Thyagarajan_at_Sun.COM]
Sent: Monday, March 05, 2007 11:40 PM
To: users_at_glassfish.dev.java.net
Subject: Re: I have a question about the domain1's /lib/applibs
directory

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_attem
pt

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
>

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