John,
Look under $LOG4J_HOME/src/java/org/apache/log4j/test/xml/stressAsyncAppender.xml
You have to run the test under the directory
$LOG4J_HOME/src/java/org/apache/log4j/test/
Hope this helps, Ceki
At 11:41 29.06.2001 -0400, Hogan, John wrote:
>All,
>
>I'm trying to run the StressAsyncAppender example and the app cannot find the config
>xml file. The specified xml/stressAsyncAppender.xml does exist in classpath. Can
>anyone tell me the likely cause of this? TIA.
>
>John Hogan
>
>C:\>java org.apache.log4j.test.StressAsyncAppender 5
>log4j:ERROR Could not open [xml/stressAsyncAppender.xml].
>java.io.FileNotFoundException: xml/stressAsyncAppender.xml (The system cannot fi
>nd the path specified)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:64)
> at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java
>:526)
> at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:6
>06)
> at org.apache.log4j.test.StressAsyncAppender.main(StressAsyncAppender.ja
>va:47)
>log4j:ERROR No appenders could be found for category (root).
>log4j:ERROR Please initialize the log4j system properly.
--
Ceki Gülcü
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]