-
1. Re: jboss-classloading.xml ignored in a war?
alesj Oct 4, 2011 7:58 PM (in response to benze)No, jboss-classloading.xml should be still picked up in a .war.
The problem must be somewhere else.
e.g. could be JBoss Logging -- since we override LogManager afaik
-
2. Re: jboss-classloading.xml ignored in a war?
benze Oct 4, 2011 11:37 PM (in response to alesj)Ales Justin wrote:
The problem must be somewhere else.
e.g. could be JBoss Logging -- since we override LogManager afaik
Am not sure what you mean. How do you override LogManager? And even if the LogManager is overridden, then shouldn't the jboss-classloading.xml file be indicating to the ClassLoader to use the one from the war and nothing from outside the war?
Thanks,
Eric -
3. Re: jboss-classloading.xml ignored in a war?
alesj Oct 5, 2011 1:43 PM (in response to benze)Am not sure what you mean. How do you override LogManager? And even if the LogManager is overridden, then shouldn't the jboss-classloading.xml file be indicating to the ClassLoader to use the one from the war and nothing from outside the war?
At boot time we override the JDK's LogManager with our own.
But I'm just guessing, as I'm pretty sure the classloading is setup as you define it -- with deployers picking up jboss-classloading.xml.
Hence the issue must be somewhere else.