users@glassfish.java.net

Re: Glassfish v3 class loader path

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 07 Jan 2010 16:34:31 +0530

Try something like this:

Create a subdir called struts/ under domain_dir/lib.
Put all struts jars there.
Then create a wrapper jar in domain1/lib which has Class-Path manifest
set like this:

Class-Path: struts/a.jar struts/b.jar ...

Do the same for collection of related jars.

Sahoo

glassfish_at_javadesktop.org wrote:
> At present I've at least 100 jars in domain_dir/lib... in my opinion this is not a good way to administrate a server... if I've to update a framework (for instance struts) how I can collect all old files?
> [Message sent by forum member 'scarex' (scarex.dna_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=379209
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>