Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 5806 invoked from network); 20 Dec 2008 01:53:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Dec 2008 01:53:11 -0000 Received: (qmail 70366 invoked by uid 500); 20 Dec 2008 01:53:08 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 70025 invoked by uid 500); 20 Dec 2008 01:53:06 -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 70014 invoked by uid 99); 20 Dec 2008 01:53:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2008 17:53:06 -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 72.14.220.158 as permitted sender) Received: from [72.14.220.158] (HELO fg-out-1718.google.com) (72.14.220.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Dec 2008 01:52:58 +0000 Received: by fg-out-1718.google.com with SMTP id 22so627394fge.1 for ; Fri, 19 Dec 2008 17:52:36 -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=FfWKuYETZGqsop6WJZfQi2LQxpVsLjBSdn4UA5njils=; b=NeEKxhAqf/qzjzBXVFm7zYv5yq6w6jbg2bZhQOYMzCrQ5UuQm5A7ibdMNZa/toDAck ehB9QG/lZHaGuqf+kn4t+baEsICKrrE4HmcUrITiFHLSUnEHH7qLl+d+n0l53QCMZE1l Nsg40PXPJ0JMYpOVk9gfgX0l8Sn7T0eo6H1Z0= 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=Kheqofz9UL4w+U5bTBHFGf7J966c4+7+KUPHQQMeMO8cNPl1iLrrpwIaoqC7NR+nOO WGUjl8IpslM39LLwTPtch7G4eBJ0Y6PPD5VnhYncq5qVqIXzIvA4/l1ZMj5shpgNSsj0 G7HjSbDL9R1EtFSeE7gMtiGahmPMzMbQJTUKY= Received: by 10.86.80.17 with SMTP id d17mr2174532fgb.14.1229737956481; Fri, 19 Dec 2008 17:52:36 -0800 (PST) Received: by 10.86.82.15 with HTTP; Fri, 19 Dec 2008 17:52:36 -0800 (PST) Message-ID: <25aac9fc0812191752w491d8658uf2a15a31bbf046ed@mail.gmail.com> Date: Sat, 20 Dec 2008 01:52:36 +0000 From: sebb To: "JMeter Users List" Subject: Re: java.net.SocketException: Unconnected sockets not implemented In-Reply-To: <21095508.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> <25aac9fc0812050917y2c820e57i33d6b24d392fe2df@mail.gmail.com> <20858921.post@talk.nabble.com> <25aac9fc0812050942h57c0e951v8ee74eef7ae4b86a@mail.gmail.com> <21095508.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On 19/12/2008, laredotornado wrote: > > A note for posterity, although I did as suggested and added the 1.5 JRE to > the PATH and JAVA_HOME, > > http://screencast.com/t/AqxIaHeM > What does "java -version" show? > Alas, I still get the same error when running JMeter and trying to make an > HTTPS connection. - Dave > What does jmeter.log show for the Java version? > > > > sebb-2-2 wrote: > > > > Same way you tell it to use 1.6 ;-) > > > > Make sure the 1.5 JRE is on the PATH, and set JAVA_HOME. > > > > On 05/12/2008, laredotornado wrote: > >> > >> Thanks. How do I tell JMeter to use Java 1.5? > >> > >> > >> > >> sebb-2-2 wrote: > >> > > >> > 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 > >> > > >> > > >> > > >> > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/java.net.SocketException%3A-Unconnected-sockets-not-implemented-tp20841464p20858921.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 > > > > > > > > -- > > View this message in context: http://www.nabble.com/java.net.SocketException%3A-Unconnected-sockets-not-implemented-tp20841464p21095508.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