IBM Websphere 3.5 and Jakarta Log4j 1.2.7, log4j.dtd, log4j.xml
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sean_Sullivan
Posted On:   Friday, November 1, 2002 04:43 PM

Is anybody using Log4j 1.2.7 in Websphere 3.5? I installed the log4j JAR file and a copy of log4j.xml The problem is that Log4j is having trouble loading log4j.dtd This is surprising because log4j.dtd is contained inside the log4j JAR file. I have not modified the DTD or the JAR. 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 GE   More>>
			
Is anybody using Log4j 1.2.7 in Websphere 3.5?

I installed the log4j JAR file and a copy of
log4j.xml

The problem is that Log4j is having trouble loading log4j.dtd

This is surprising because log4j.dtd is contained inside the log4j JAR file. I have not modified the DTD or the JAR.

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/
   <<Less
About | Sitemap | Contact