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 Kazuhito SUGURI <su...@lab.ntt.co.jp> on 2004/03/08 12:34:46 UTC
Re: java.net.SocketException: Software caused connection abort:
recv failed
Hi Jan,
In article <5....@imap.uio.no>,
Mon, 08 Mar 2004 12:17:24 +0100,
Jan Olav Kj|de <j....@basalmed.uio.no> 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:suguri.kazuhito@lab.ntt.co.jp
Re: java.net.SocketException: Software caused connection
abort: recv failed
Posted by Jan Olav Kj|de <j....@basalmed.uio.no>.
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 <5....@imap.uio.no>,
>>Mon, 08 Mar 2004 12:17:24 +0100,
>>Jan Olav Kj|de <j....@basalmed.uio.no> 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:suguri.kazuhito@lab.ntt.co.jp
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
Re: java.net.SocketException: Software caused connection
abort: recv failed
Posted by Jan Olav Kj|de <j....@basalmed.uio.no>.
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 <5....@imap.uio.no>,
>Mon, 08 Mar 2004 12:17:24 +0100,
>Jan Olav Kj|de <j....@basalmed.uio.no> 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:suguri.kazuhito@lab.ntt.co.jp
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: cactus-user-help@jakarta.apache.org