You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Vincent Massol <vm...@octo.com> on 2001/11/01 00:26:56 UTC

Re: Orion classpath


----- Original Message -----
From: "Leandro Rodrigo Saad Cruz" <le...@ibnetwork.com.br>
To: <ca...@jakarta.apache.org>
Sent: Tuesday, October 30, 2001 9:44 PM
Subject: Orion classpath


> Hi all , I'm new to this list and I think I have a problem related to
> orion classpath and cactus.
>
> when I run ant run_tests this message comes from orion stderr/stdout
>
> leandro@ns2:~/orion$ Orion/1.5.2 initialized
> log4j:ERROR No appenders could be found for category
> (br.com.ibnetwork.ib.testcases.TesteTestCase).
> log4j:ERROR Please initialize the log4j system properly.
>
> My TestCase is TesteTestCase but I couldn't add a category named
> br.com.ibnetwork.ib.testcases because log_server.properties found in
> WEB-INF/lib/cactus.jar is not overhidden but
> classes/log_server.properties.

I knew this would happen ... :)
At the current time, I would say the solutions are :
- put your properties file in the system class loader
- edit the log_server.properties found in cactus.jar

There is a cactus todo task (http://jakarta.apache.org/cactus/todo.html) to
use log4j in a non-intrusive manner for the code being tested ... but this
task need some volunteer .... :)

>
> Has anyone experienced the same problems ???
>

It is a known limitation. Any idea to fix it ?

>
> --
> Leandro Rodrigo Saad Cruz
> IT - Inter Business Tecnologia e Servicos (IB)
>

-Vincent


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>