Oops! I spoke before checking the source code, assuming since it
didn't work that this was the problem.  The source code HAS
been changed to "Category.class", but the problem still occurs
with Tomcat.  I have log4j.properties in WEB-INF/classes and
log4j.jar in WEB-INF/lib, but log4j still cannot find the 
properties file. 

log4j 1.1.3
tomcat 3.2.2
jdk 1.3.1
j2ee 1.3beta2

Suggestions?

James Garrison wrote:
> 
> The exchange below was on 2001-05-31, but the problem
> still exists in the 1.1.3 binary (Windows) downloaded 6/21.
> Is changing Object.class to Category.class the "official" fix?
> 
> > If you look at the documentation (user manual), it is assumed that
> > Category.class is used instead of Object.class. The latter is
> > leftovers from an experiment I was doing. I forgot to take it
> > out... My mistake. Regards, Ceki
> >
> > At 16:19 31.05.2001 -0400, you wrote:
> > >See my comments interspersed below:
> > >
> > >----- Original Message -----
> > >From: "Paul Glezen" <[EMAIL PROTECTED]>
> > >To: "LOG4J Users Mailing List" <[EMAIL PROTECTED]>
> > >Sent: Thursday, May 31, 2001 10:58 AM
> > >Subject: Re: Tomcat problem (again)
> > >
> > >
> > >> William Jaynes wrote:
> > >> >
> > >> > I trace this anomaly to the following line in Category.java
> > >> >         url = Loader.getResource(resource, Object.class);
> > >> > I believe that "Category.class" rather than "Object.class" should be
> > >> > used. ...
> > >>
> > >> This change might help in some situations.  But it is not going to
> > >> address the Tomcat issue.
> > >
> > >But it does. I've made the change it it works.
> 
> --
> James Garrison                                Athens Group, Inc.
> mailto:[EMAIL PROTECTED]                    5608 Parkcrest Dr
> http://www.athensgroup.com                    Austin, TX 78731
> PGP: RSA=0x04B73B7F DH/DSS=0x70738D88         (512) 345-0600 x150

-- 
James Garrison                                Athens Group, Inc.
mailto:[EMAIL PROTECTED]                    5608 Parkcrest Dr
http://www.athensgroup.com                    Austin, TX 78731
PGP: RSA=0x04B73B7F DH/DSS=0x70738D88         (512) 345-0600 x150

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to