You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ning An <ni...@gmail.com> on 2007/07/12 20:55:14 UTC

Help with "java.net.SocketException: Connection reset"

Greetings,

I am running a JMeter test plan with SOAP/XML-RPC Request with OC4J 10g (
10.1.3) and Oracle Database 10g.  Even with a single thread and 50 Loop
Count, I am keep getting the following Response Data at View Results Tree:

java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
    at org.apache.commons.httpclient.HttpConnection.isResponseAvailable(
HttpConnection.java:902)
    at org.apache.commons.httpclient.HttpMethodBase.readResponseBody(
HttpMethodBase.java:1698)
    at org.apache.commons.httpclient.HttpMethodBase.readResponseBody(
HttpMethodBase.java:1640)
    at org.apache.commons.httpclient.HttpMethodBase.readResponse(
HttpMethodBase.java:1603)
    at org.apache.commons.httpclient.HttpMethodBase.execute(
HttpMethodBase.java:995)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(
HttpMethodDirector.java:397)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(
HttpMethodDirector.java:170)
    at org.apache.commons.httpclient.HttpClient.executeMethod(
HttpClient.java:396)
    at org.apache.commons.httpclient.HttpClient.executeMethod(
HttpClient.java:324)
    at org.apache.jmeter.protocol.http.sampler.SoapSampler.sample(
SoapSampler.java:224)
    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(
HTTPSamplerBase.java:658)
    at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(
HTTPSamplerBase.java:647)
    at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
    at java.lang.Thread.run(Thread.java:595)

No errors are reported on OC4J or Database.

Any advice will be highly appreciated.

Ning

Re: Help with "java.net.SocketException: Connection reset"

Posted by sebb <se...@gmail.com>.
On 12/07/07, Ning An <ni...@gmail.com> wrote:
> Greetings,
>
> I am running a JMeter test plan with SOAP/XML-RPC Request with OC4J 10g (
> 10.1.3) and Oracle Database 10g.  Even with a single thread and 50 Loop
> Count, I am keep getting the following Response Data at View Results Tree:
>
> java.net.SocketException: Connection reset
>    at java.net.SocketInputStream.read(SocketInputStream.java:168)

This says that JMeter is trying to read from the server, and detected
a connection reset.

This must be either a network error or the server is resetting the connection.

You'll need to check the Oracle server logs and/or ask the server
administrator to find out what is happening.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org