when a web module is deployed as a war we can define it's classloader name in jboss-web.xml:
<class-loading java2ClassLoadingCompliance='false'>
<loader-repository>some.dot.com:loader=Name.war></loader-repository>
</class-loading>
however, when web module is deployed in EAR, jboss-web.xml is ignored (??) and we get the same classloader name for all web modules.
i need distinct classloader names so i can filter messages from web modules using log4j Filter.
is there a way to deploy web modules in EAR and still control classloader names?