I'm running into a problem with log4j configuration when running junit
tests from the junit.swingui.TestRunner class.
Here is the error message I get to the console:
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not
assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR T
At 05:23 10.01.2003 -0700, you wrote:
I'm running into a problem with log4j configuration when running junit
tests from the junit.swingui.TestRunner class.
Here is the error message I get to the console:
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable
to a "org.apache.
Thanks in advance for any feedback.
My organization has a non-negotiable requirement to support many customers
on a given machine. The J2EE servlet standard has rules specifying how each
web application in a servlet container owns its own class loader. Thus, in
the same JVM process space, we a
The configs are maintained per-LoggerRepository. The scope of this depends
on the RepositorySelector implementation that you are using. The default
selector uses classloaders as its scoping mechanism, and thus does work with
the way you want in servlet containers which use seperate classloaders f
At 08:59 10.01.2003 -0600, Ebersole, Steven wrote:
The configs are maintained per-LoggerRepository. The scope of this depends
on the RepositorySelector implementation that you are using.
Exactly.
The default
selector uses classloaders as its scoping mechanism, and thus does work with
the way
Hello Lutz,
Putting log4j.jar inside WEB-INF/lib of each webapp solves this issue
immediately. The other comments about repository selectors are true
and valid, but, if you want to simplify things, simply putting a
separate copy of log4j.jar in the WEB-INF/lib of every webapp you
deploy will prov
Ceki Gülcü wrote:
At 05:23 10.01.2003 -0700, you wrote:
I'm running into a problem with log4j configuration when running
junit tests from the junit.swingui.TestRunner class.
Here is the error message I get to the console:
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not
assigna
At 12:08 10.01.2003 -0700, Gary Clayburg wrote:
Thanks for your quick reply. Also, thanks for creating and maintaining a
great logging tool!
You are welcome.
I checked my classpath and I am only using one log4j.jar file. But even
if there were two jar files on the classpath, that wouldn't c
Ceki Gülcü wrote:
At 12:08 10.01.2003 -0700, Gary Clayburg wrote:
Thanks for your quick reply. Also, thanks for creating and
maintaining a great logging tool!
You are welcome.
I checked my classpath and I am only using one log4j.jar file. But
even if there were two jar files on the cl
At 13:21 10.01.2003 -0700, Gary Clayburg wrote:
The version of Junit I am using is 3.8.1, which is the latest. The Junit
classloader is basically a custom classloader that loads classes from the
same place as the system classloader, which is ultimately the
$CLASSPATH. So basically, because o
I have been using Log4j with J2EE Reference Implementation and Websphere.
Works pretty good with the J2EE connector I am working with.
I recently started trying the connector on WebLogic and looks like log4j is
not recognizing any appenders.
I get a
log4j:WARN No appenders could be f
Ceki Gülcü wrote:
At 13:21 10.01.2003 -0700, Gary Clayburg wrote:
The version of Junit I am using is 3.8.1, which is the latest. The
Junit classloader is basically a custom classloader that loads
classes from the same place as the system classloader, which is
ultimately the $CLASSPATH. S
Hi I am using IPlanet. I notice a problem
If I create put my log4j config file in the running directory, and read it
from there, the log4j works fine.
But if I put the config file in the classpath, and load it from there. The
log4j will not generate anything...
Any idea?
thanks
David
--
To unsub
13 matches
Mail list logo