logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Taylor" <cstay...@java-internals.com>
Subject Re: Problem
Date Sat, 11 Aug 2001 16:02:14 GMT
Where are your Log4J classes?  Are they in your CLASSPATH, are they in
java\jre\lib\ext, or are they in your WAR in Tomcat?  If they're anywhere
but your WAR, you'll have problems...

I just checked in this question to the FAQ... so hopefully it will show up
on the website in a day or too.  Basically, try and load your Properties
file using the Thread.getContextClassLoader().getResource("name of your
properties file");  If you get null back, then Log4J won't be able to find
it either.

-Chris

----- Original Message -----
From: "James Garrison" <jhg@athensgroup.com>
To: "LOG4J Users Mailing List" <log4j-user@jakarta.apache.org>
Sent: Wednesday, July 04, 2001 7:24 AM
Subject: Re: Problem


> The same configuration works when the same class is used from
> within a standalone app, not running out of tomcat.  It fails to
> find log4j.properties only when running within tomcat.
>
> Jim Moore wrote:
> >
> > It complains about no appenders if you haven't set up your configuration
> > file correctly.  For the example in the manual and it should get you
going.
> >
> > -----Original Message-----
> > From: vishal rustagi [mailto:vishal@intelesoftech.com]
> > Sent: Thursday, June 21, 2001 2:01 AM
> > To: log4j-user@jakarta.apache.org
> > Subject: Problem
> >
> > Hi All
> >         While i m running my program .i m getting the error no appenders
> > is defined for this category.As appender is a interface so i had
> > implemented it alseo after that all he is not finding it.So plz help me.
> >
> > With regards
> > Vishal
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: log4j-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: log4j-user-help@jakarta.apache.org
>
> --
> James Garrison                                Athens Group, Inc.
> mailto:jhg@athensgroup.com                    5608 Parkcrest Dr
> http://www.athensgroup.com                    Austin, TX 78731
> PGP: RSA=0x04B73B7F DH/DSS=0x70738D88         (512) 345-0600 x150
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message