[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: org.apache.commons.logging.impl.Log4JLogger does not imp
jaikiran
do-not-reply at jboss.com
Fri Nov 30 01:15:47 EST 2007
anonymous wrote : but when I include it in the ear I get the "Log4JLogger does not implement Log"
Looks like a classloading issue. JBoss already has the commons-logging.jar in it's server lib folder. Since your application too includes it, the classes get loaded from 2 different classloaders. Removing the commons-logging.jar from your application is the easiest way to get rid of this exception.
anonymous wrote :
| If I remove the commons-logging.jar from my jsf.war and deploy within the .ear then the error for Log4JLogger goes away but I get an "Exception processing TLD at resource path /WEB-INF/jsf_core.tld in context..."
This exception might be because of some other reason.
anonymous wrote :
| Trace when the logging-commons is removed from the cpWeb.war/WEB-INF/lib:
|
| 09:42:06,687 ERROR [Context] Error reading tld listeners javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/jsf_core.tld in context /cpWeb
| javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/jsf_core.tld in context /cpWeb
| at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:549)
| at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:301)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4282)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
Is that tld file available at that location? Is this all you get in the exception stacktrace? If there's more to the stacktrace then post the entire thing here.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109150#4109150
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109150
More information about the jboss-user
mailing list