Solved

Log4j Error in IBM Websphere

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java string replace 11 61
mysql jsp example issue 32 69
java mysql insert application 14 41
import as existing maven project 3 34
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…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
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 covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

740 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