I was working in web application. I tried removing the jar duplication from my war with WEB-INF/lib/*.jar. This helped me in excluding the jar from my war. While deploying the ear in websphere i have the follwing issue,
I have checked my war class path it contains the log4j.jar and common-logging1.1.jar.
Kindly help!!!
Error log:
[7/6/12 22:34:10:577 CEST] 00000165 webapp E com.ibm.ws.webcontainer.webapp.WebApp notifyServletContextCreated SRVE0283E: Exception caught while initializing context: {0}
org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable.
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:874)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)