Solved

Log4j Error in IBM Websphere

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

734 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