Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 66426 invoked from network); 5 Dec 2008 17:18:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2008 17:18:04 -0000 Received: (qmail 19967 invoked by uid 500); 5 Dec 2008 17:18:15 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 19942 invoked by uid 500); 5 Dec 2008 17:18:15 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 19931 invoked by uid 99); 5 Dec 2008 17:18:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 09:18:14 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 74.125.78.27 as permitted sender) Received: from [74.125.78.27] (HELO ey-out-2122.google.com) (74.125.78.27) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 17:16:43 +0000 Received: by ey-out-2122.google.com with SMTP id 9so40043eyd.31 for ; Fri, 05 Dec 2008 09:17:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vGIiICIe8PBoXNpCwMyt1bC8PGOfDJY0md+QZAYDJi4=; b=Vb8+crPYDz3ptKGRiz1KIcGxGQ6+ANubMZMgZB/73xG6D4BnVWCNPfjVEN1h+0BhaA rK2sS2RPMj8wE/C2nzvnTFIwUFjNR4cc6p59oxAIuvioyknF1Gm9oxj+fANAeEDZserw MUNBvCpY4upw1b2tkLH3uf0y5pR7InhtjvNKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=cbRd4HfwAylsBvNaVAWYDkEqFbeXA7Q02t+ZX3OCLm0vtuhnHjxEtgNAu+WASkjJLf f/s2R9CLgRjkoznlHPfxBX/1qafTxA00crPSt6+fF/bHEC2PDr9RdmE+F6v3mdMrqzbY vh+Dclk4C/uhAeCdJYIbphdfig1+A91m+B/qs= Received: by 10.86.84.5 with SMTP id h5mr813434fgb.10.1228497449405; Fri, 05 Dec 2008 09:17:29 -0800 (PST) Received: by 10.86.65.7 with HTTP; Fri, 5 Dec 2008 09:17:29 -0800 (PST) Message-ID: <25aac9fc0812050917y2c820e57i33d6b24d392fe2df@mail.gmail.com> Date: Fri, 5 Dec 2008 17:17:29 +0000 From: sebb To: "JMeter Users List" Subject: Re: java.net.SocketException: Unconnected sockets not implemented In-Reply-To: <20841464.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20841464.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Seems to be caused by a change in Java 1.6 in the way that the sockets are created which means that some SSL Socket factory implementations no longer work. A Google search shows a lot of applications seem to have hit this problem. As a work-round, either use Java 1.5, or switch to the HttpClient version of the HTTP sampler. On 04/12/2008, laredotornado wrote: > > Hi, > > I'm using JMeter 2.3.2 on WinXP. When I try and access a web page using an > HTTP Request in which the protocol is https, I get this response: > > java.net.SocketException: Unconnected sockets not implemented > at javax.net.SocketFactory.createSocket(Unknown Source) > at sun.net.www.protocol.https.HttpsClient.createSocket(Unknown Source) > at sun.net.NetworkClient.doConnect(Unknown Source) > at sun.net.www.http.HttpClient.openServer(Unknown Source) > at sun.net.www.http.HttpClient.openServer(Unknown Source) > at sun.net.www.protocol.https.HttpsClient.(Unknown Source) > at sun.net.www.protocol.https.HttpsClient.New(Unknown Source) > at > sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown > Source) > at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) > at > sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown > Source) > at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(Unknown > Source) > at > org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021) > at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1007) > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290) > at java.lang.Thread.run(Unknown Source) > > What does it mean and what can I do to get around it? Here are the HTTP > Request Defaults I'm using -- http://screencast.com/t/D4wjh3IbS. > > - Dave > > -- > View this message in context: http://www.nabble.com/java.net.SocketException%3A-Unconnected-sockets-not-implemented-tp20841464p20841464.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org