Do these wiki entries help (if you havent read them yet):
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?
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...
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...