-
1. Re: Force JBoss Classloader to use local lib within EAR
jaikiran Jan 21, 2008 9:09 AM (in response to holly77)Do these wiki entries help (if you havent read them yet):
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases
Is there a way to force the JBoss Classloader to use a specific local lib within an EAR instead of using the formerly loaded lib, without isolation of the EAR?
Any reason why you dont want to isolate the EAR? -
2. Re: Force JBoss Classloader to use local lib within EAR
holly77 Jan 22, 2008 4:23 AM (in response to holly77)Thanks for your hints!
I read these enries already, but could not find a soultion for my problem within.
I do not want to isolate the EAR, as Services within would not be useable without additional configuration by other components in JBoss, any more. It's a central component and would cause a lot of effort. It's less performant, as well, as I understood (call-by-value issue).
Anyway, I'm wondering that there's no easy way to override global classpath with "more local" component's classpath, as it is with scoping in every programming language, I know... -
3. Re: Force JBoss Classloader to use local lib within EAR
grexe Jan 23, 2008 9:29 AM (in response to holly77)another reason for not wanting to isolate the EAR would be application-server-interoperability. OC4J e.g. offers no simple way to isolate classloaders like JBoss, so this is a major PITA if you have to support both AS-platforms.
So I would also be interested in an elegant solution to this related issue...