I've been trying to utilize Log4j 1.2.7 in Websphere 3.5
Log4j attempts to load a file called log4j.dtd using the getResource() method in java.lang.Class
The getResource() method is always returning null.
I searched IBM's online support and there appears to be a bug related to getResource()
---
PQ53045: JARFILECLASSPROVIDER DOES NOT IMPLEMENT GETRESOURCE
Abstract
JARFILECLASSPROVIDER DOES NOT IMPLEMENT GETRESOURCE
Error description
JarFileClassProvider does not implement getResource
Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server users of *
* getResource *
****************************************************************
* PROBLEM DESCRIPTION: Users of getResource were getting a *
* null value returned. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
The JarFileClassProvider was missing code such that users of
getResource were getting a null returned.
Problem conclusion
This problem was corrected by a change to:
com/ibm/servlet/classloader/JarFileClassProvider.java
The defect number is 112372
Temporary fix
pq53045.jar
http://www.ibm.com/