jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: java.net.SocketException: Unconnected sockets not implemented
Date Fri, 05 Dec 2008 17:17:29 GMT
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 <laredotornado@gmail.com> 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.<init>(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


Mime
View raw message