Solved

Log4j Error in IBM Websphere

Posted on 2013-11-13
2
400 Views
Last Modified: 2013-11-27
Anyone knows how to resolve the error shown below:

Caused by: org.apache.commons.logging.LogConfigurationException: User-specified log class 'org.apache.commons.logging.impl.Log4JCategoryLog' cannot be found
or is not useable. Did you mean 'org.apache.commons.logging.impl.Log4JLogger'?
        at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:798)
        at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
        at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:664)
        at org.apache.commons.digester.Digester.<init>(Digester.java:308)
        at com.rccl.foundation.raft.config.AbstractXMLDigesterConfigurator.configure(AbstractXMLDigesterConfigurator.java:29)
        at com.rccl.asr.po.query.config.QueryManager.<init>(QueryManager.java:56)
        at com.rccl.asr.po.query.config.QueryManager.getInstance(QueryManager.java:68)
        at com.rccl.asr.po.AbstractBaseDbSearch.<clinit>(AbstractBaseDbSearch.java:31)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:228)
        ... 63 more
0
Comment
Question by:onaled777
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 500 total points
ID: 39651236
Check two things

a) You have put the jar file, or the directory, that contains the class in your classpath.
b) If you are sure you have it in your classpath try to move it around in different location so it will be picked up by different a classloader. Several application server ignore locations or filter specific packages.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question