[jboss-user] [Installation, Configuration & Deployment] - Re: User-specified log class 'org.apache.commons.logging.imp
jaikiran
do-not-reply at jboss.com
Wed Nov 18 04:36:00 EST 2009
anonymous wrote :
| Caused by: org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apach
| e.commons.logging.impl.Log4JLogger' cannot be found or is not useable.
|
anonymous wrote :
| However, log4jlogger is there inside the WEB-INF/lib/commons-logging-1.1.1.jar
|
anonymous wrote :
| jboss-5.1.0.GA
|
JBoss AS ignores the presence of jars containing org.apache.commons.logging from the web deployments. Change the following from JBOSS_HOME/server/< servername>/deployers/jbossweb.deployer/META-INF/war-deployers-jboss-beans.xml:
| <property name="filteredPackages">javax.servlet,org.apache.commons.logging</property>
|
to
| <property name="filteredPackages">javax.servlet</property>
|
This will remove the filtering and the commons logging jar will be visible to the classloader.
This is fixed in later version of JBoss AS https://jira.jboss.org/jira/browse/JBAS-7117
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266241#4266241
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266241
More information about the jboss-user
mailing list