Solved

Log4j Error in IBM Websphere

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Question to locate the problem 18 55
pairs challenge 5 45
Website URL redirection 10 53
github account with ecipse 1 20
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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 learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
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.

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now