users@glassfish.java.net

Re: Isolate properties files between two WARs in an EAR

From: Sahoo <Sahoo_at_Sun.COM>
Date: Sat, 23 Aug 2008 23:10:43 +0530

Yes, there is an option to switch off delegation, but doing that can
lead to ClassCastExceptions at times. I think this user has already
experienced the same while trying to switch off delegation.

Thanks,
Sahoo

glassfish_at_javadesktop.org wrote:
> Sahoo,
>
> By default GF flattens out the class loaders for EARs, but isn't there a way to set a configuration property where the class loaders aren't flattened? Where the WARs check there own first?
>
> I recall this being the case but forget the details. But that may well work since he uses the class loader to locate the properties.
> [Message sent by forum member 'whartung' (whartung)]
>
> http://forums.java.net/jive/thread.jspa?messageID=294980
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>