Why is Commons Logging included in the webapp class loading filter?
Issue
On Jboss, any messages logged via the commons-logging API are swallowed up and not logged out using my own logging configuration.
The reason is that the ./deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml defines two packages that should never be loaded by the webapp class loader - javax.servlet (no surprises there) and org.apache.commons.logging. Can you provide the reason for JBoss does not load commons.logging? I have found my application, and it's logging works OK by removing commons.logging from the filteredPackages list in this file.
Environment
JBoss Enterprise Application Platform (EAP) 5.0.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
