Hello. I fixed the problem. I tried to log to standard-out as well as to a log-file (see below). When I remove this, and justs log to the log-file, everything works just fine. Why I don't know..
. . . log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n . . . # Debug logs for Cactus log4j.category.org.apache.cactus = DEBUG, cactus, stdout log4j.additivity.org.apache.cactus = false
# Debug logs for HttpClient log4j.category.org.apache.commons.httpclient = DEBUG, cactus, stdout log4j.additivity.org.apache.commons.httpclient = false log4j.category.httpclient = WARN, cactus log4j.additivity.httpclient = false
Jan Ok
At 13:12 08.03.2004 +0100, you wrote:
I run it like this:
public GetAnimalTagTester(String theName) { super(theName); }
public static void main(String[] theArgs)
{
new no.uio.nesys.util.Log4jInitializer().init();
junit.swingui.TestRunner.main(new String[] {GetAnimalTagTester.class.getName()});
}
Do you need additional information?
Jan Ok
At 20:34 08.03.2004 +0900, you wrote:Hi Jan,
In article <[EMAIL PROTECTED]>,
Mon, 08 Mar 2004 12:17:24 +0100,
Jan Olav Kj|de <[EMAIL PROTECTED]> wrote:
j.o.kjode> I have made a simple JspTestCase (to test a tag) that doesn't work for some
j.o.kjode> reason.
j.o.kjode> Would be great if anyone could help..
j.o.kjode> I get a SocketException.
[snip]
j.o.kjode> DEBUG [TestRunner-Thread] (HttpConnection.java:931) - enter
How did you run the test? I'm not sure what the TestRunner-Thread is.
Regards, ---- Kazuhito SUGURI mailto:[EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
