Solved

Log4j Error in IBM Websphere

Posted on 2013-11-13
2
388 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
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

825 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