Thanks. I've checked the log4j and cactus documents. Cactus uses
log_server.properties and log_client.properties. These two files are
included in the cactus.jar. So they are already in the classpath.

What I have to do is to attach an appender to my test category (com.eal, for
example) or attach an appender to the root category. The default settings
only attach an appender to org.apache.cactus.

Cheers,

Li

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 05, 2001 2:34 PM
To: [EMAIL PROTECTED]
Subject: Re: cactus/jbuilder/jrun



log4j.properties  file also should be in your classpath.  See log4j
docucment for more detail.



 

                    "Zhang, Li"

                    <Li.Zhang@eal        To:
"'[EMAIL PROTECTED]'"                  
                    .ab.ca>              <[EMAIL PROTECTED]>

                                         cc:

                    10/05/01             Subject:     cactus/jbuilder/jrun

                    04:13 PM

                    Please

                    respond to

                    cactus-user

 

 





Dear Cactus guru:

I've finally got cactus/jbuilder/jrun working together. I did my first
testcase to test an EJB. It worked pretty good.

Now I want to make the log4j work with cactus - I got "No appenders could
be
found for category (HDAgentTest). Please initialize the log4j system
properly" error message. The "log4j-core.jar" is in my classpath.

Could any one point me why I got this error? How can I have log4j worked
for
me?

Thanks.

Li


Reply via email to