jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vijay korimilli <v_korimi...@yahoo.com>
Subject SocketException in test method
Date Fri, 26 Apr 2002 12:57:55 GMT
Hi,

I am using cactus1.3 and tomcat 4.0. When i try to
test my servlet, i am getting the following exception.

    [junit] Testcase: testInitApp took 9.684 sec
    [junit]     Caused an ERROR
    [junit] Socket closed
    [junit] java.net.SocketException: Socket closed
    [junit]     at
java.net.SocketInputStream.socketRead(Native Method)
    [junit]     at
java.net.SocketInputStream.read(SocketInputStream.java:86)
    [junit]     at
java.io.BufferedInputStream.read1(BufferedInputStream.java:223)
    [junit]     at
java.io.BufferedInputStream.read(BufferedInputStream.java:280)
    [junit]     at
java.io.FilterInputStream.read(FilterInputStream.java:114)
    [junit]     at
java.io.PushbackInputStream.read(PushbackInputStream.java:164)
    [junit]     at
java.io.FilterInputStream.read(FilterInputStream.java:93)
    [junit]     at
org.apache.cactus.client.AutoReadHttpURLConnection.copy(AutoReadHttpURLConne
ction.java;org/apache/cactus/util/log/LogAspect.java(1k):217)
    [junit]     at
org.apache.cactus.client.AutoReadHttpURLConnection.getBufferedInputStream(Au
toReadHttpURLConnection.java;org/apache/cactus/util/log/LogAspect.java(1k):184)
    [junit]     at
org.apache.cactus.client.AutoReadHttpURLConnection.getInputStream(AutoReadHt
tpURLConnection.java;org/apache/cactus/util/log/LogAspect.java(1k):141)
    [junit]     at
org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.j
ava;org/apache/cactus/util/log/LogAspect.java(1k):195)
    [junit]     at
org.apache.cactus.client.AbstractHttpClient.dispatch1_doTest(AbstractHttpCli
ent.java;org/apache/cactus/util/log/LogAspect.java(1k):120)
    [junit]     at
org.apache.cactus.client.AbstractHttpClient.around1_doTest(AbstractHttpClien
t.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)
    [junit]     at
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;o
rg/apache/cactus/util/log/LogAspect.java(1k):115)
    [junit]     at
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:457)

    [junit]     at
org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)
    [junit]     at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:400)
    [junit]
    [junit] Testcase: testInitApp


In which situations can this exception come up.

Thanks,
Vijay.

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message