----- Original Message -----
Sent: Wednesday, September 26, 2001 12:24 PM
Subject: Cactus Installation Verification on Weblogic 6.0
[snip]
With the above said settings, when I try to test the sample, by typing java TestjspTestCase, I get the following errors on the java console
 
D:\bea\wlserver6.0sp2\config\examples\clientclasses>java TestJspTestCase
log4j:ERROR A "org.apache.log4j.FileAppender" object is not assignable to a "org.apache.log4j.Append
er" variable.
log4j:ERROR Could not instantiate appender named "cactus".
log4j:ERROR No appenders could be found for logger (TestJspTestCase).
log4j:ERROR Please initialize the log4j system properly.
<html>
        <body>
                Name: BLUE
 
        </body>
</html>
The Junit runs successfully but with the errors.
 
I've tried running the test on my machine in the same way as you do (i.e. calling java <test case class>) and it works fine. So it means it is probably a problem with your configuration and more specifically with Log4j (actually the error displayed is a log4j error).
 
As there has been an error during initialization of Log4j, no log will be generated but the tests will run fine.
 
Are you sure you don't have any log4j.properties file in your client side classpath ? Have you modified the log_client.properties file ?
 
-Vincent

Reply via email to