Discussion:
Help with "java.net.SocketException: Connection reset"
Ning An
2007-07-12 18:55:14 UTC
Permalink
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
sebb
2007-07-14 00:56:28 UTC
Permalink
Post by Ning An
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
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.

Loading...