Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2AB8A101EF for ; Thu, 15 Aug 2013 22:34:19 +0000 (UTC) Received: (qmail 30267 invoked by uid 500); 15 Aug 2013 22:33:23 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 30225 invoked by uid 500); 15 Aug 2013 22:33:22 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 30150 invoked by uid 99); 15 Aug 2013 22:33:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Aug 2013 22:33:07 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of praumesh86@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-we0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Aug 2013 22:33:00 +0000 Received: by mail-we0-f175.google.com with SMTP id q58so1038111wes.6 for ; Thu, 15 Aug 2013 15:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1FuFGVyco10gr+7ydXj5Db6+9mKQ4PienvdQMo+bvLE=; b=NLoiqzNv0nk+ZWj79P5JOC6SIof5kwupgEztHzbdrT3TdbJLLNcMSEhJUOq3RlY9lO 6C2RhWzFWbkufnZFcs8jrI7yGfGy0Yvh0D7x2WzeG/L4/n60S5cRrF2D3KhvmhAt0d98 gRvBt1jBw1oKOFNJik/fXcmpnfrn7r/6UeVgFn/ktOyGHVianP/Vqso+Iw0Q74HnWV3h xQm9CwWcIimcjm/dB6Byv3ApRIMAJlRyZjrJyZB2ypxfaYPCW+pB8ZOKVjkOsZxurHv3 5pk5g51/DcvQtCRFWm9Kh8Gkfm7ZiGIp8jUS4m35ibqcNwhqVUjlJoxeA6iDcRo0x1zZ nqiA== MIME-Version: 1.0 X-Received: by 10.180.183.19 with SMTP id ei19mr3244433wic.10.1376605958755; Thu, 15 Aug 2013 15:32:38 -0700 (PDT) Received: by 10.194.133.74 with HTTP; Thu, 15 Aug 2013 15:32:38 -0700 (PDT) In-Reply-To: References: Date: Thu, 15 Aug 2013 15:32:38 -0700 Message-ID: Subject: Re: java.net.SocketException: Connection reset From: umesh prajapati To: JMeter Users List Content-Type: multipart/alternative; boundary=001a11c223122add3e04e4040d76 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c223122add3e04e4040d76 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable i added the line -Djava.net.preferIPv4Stack=3Dtrue inside jmeter.bat file and after I restar= t jmeter i get this on my command prompt c:\apache-jmeter-2.9\bin>jmeter '-Djava.net.preferIPv4Stack' is not recognized as an internal or external command On Thu, Aug 15, 2013 at 3:24 PM, umesh prajapati wrot= e: > where in jmeter.bat file do i add this?...anywhere in the file > > > On Thu, Aug 15, 2013 at 3:11 PM, El=ED Obed De la Rosa Raymundo < > edelarosa1990@gmail.com> wrote: > >> Hi Umesh, I had this problem but the solution that i have found is add >> "-Djava.net.preferIPv4Stack=3Dtrue" on jmeter.bat file. >> >> >> >> 2013/8/15 umesh prajapati >> >> > I checked the server logs and I dont see any error on the logs.. >> > >> > >> > On Thu, Aug 15, 2013 at 2:07 PM, umesh prajapati > > >wrote: >> > >> > > I am getting this error since today. I never used to get this error >> while >> > > running the test in the past days with same load and same ramp up. I >> > tried >> > > different test which has different scripts and each and every test i= s >> > > giving this error which I never used to get them till yesterday. >> > > >> > > java.net.SocketException: Connection reset >> > > at java.net.SocketInputStream.read(SocketInputStream.java:168) >> > > at >> > > >> com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293) >> > > at >> com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331) >> > > at >> > > >> > >> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java= :789) >> > > at >> > > >> > >> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.= java:746) >> > > at >> > > >> com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75) >> > > at >> > > >> > >> org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSe= ssionInputBuffer.java:166) >> > > at >> > > >> > >> org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.j= ava:90) >> > > at >> > > >> > >> org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSess= ionInputBuffer.java:281) >> > > at >> > > >> > >> org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHtt= pResponseParser.java:92) >> > > at >> > > >> > >> org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHtt= pResponseParser.java:62) >> > > at >> > > >> > >> org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParse= r.java:254) >> > > at >> > > >> > >> org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(= AbstractHttpClientConnection.java:289) >> > > at >> > > >> > >> org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(= DefaultClientConnection.java:252) >> > > at >> > > >> > >> org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHea= der(ManagedClientConnectionImpl.java:191) >> > > at >> > > >> > >> org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpReque= stExecutor.java:300) >> > > at >> > > >> > >> org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor= .java:127) >> > > at >> > > >> > >> org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultReq= uestDirector.java:717) >> > > at >> > > >> > >> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultReques= tDirector.java:522) >> > > at >> > > >> > >> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClien= t.java:906) >> > > at >> > > >> > >> org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClien= t.java:805) >> > > at >> > > >> > >> org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.j= ava:286) >> > > at >> > > >> > >> org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamp= lerProxy.java:62) >> > > at >> > > >> > >> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl= erBase.java:1088) >> > > at >> > > >> > >> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl= erBase.java:1077) >> > > at >> > > >> > >> org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java= :428) >> > > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:256= ) >> > > at java.lang.Thread.run(Thread.java:619) >> > > >> > >> > > --001a11c223122add3e04e4040d76--