I would say, when you mention something like:
noSpecificMeaning.anything:againAnything=anyName.anything
Thanks. I believe we are getting closer to actual understanding of what is going on.
"jaikiran" wrote:
You are defining a classloader for your APPLICATION and NOT for a specific package. So whenver a class has to be loaded in your application, the classloader specified by you for the application will be used.
Ya you got it right
Just to finish my due diligence, are there any negative consequences of doing this, such as, adverse changes in log4j behavior?
No there wont be any negative consequences of doing this. Infact,
An application server should ideally give its deployed applications the freedom to use whatever utility library and whatever version of the library they see fit, regardless of the presence of concurrent applications that want to use the same library. This is mandated by the J2EE specifications, which calls it class namespace isolation.