jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Not working with Java 6 Update 11 ?
Date Fri, 05 Dec 2008 17:17:05 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, Dominic St-Jacques <dominic.st-jacques@isimo.ca> wrote:
> Update:
>  The error seems to be only with HTTPS. Switching to HTTP works.
>
>
>  On 2008-12-04 11:49, Dominic St-Jacques wrote:
>
> > Hi,
> >
> > I've just upgraded to the latest Java update for Windows XP and jMeter
> stopped working. I get a bug on the first HTTP Request and no other request
> is sent out. It worked yesterday with the *exact* same test plan.
> >
> > Am I the only one experiencing this bug ?
> >
> > Here are the details for my Java version : Java 6 Standard Edition, build
> 1.6.0_11-b03.
> >
> > Below is the exact error I receive in the "Response Data" tab.
> >
> > Thanks,
> >
> > Dominic.
> >
> > -----------------------
> > 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)
> >
> >
> ---------------------------------------------------------------------
> > 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
>
>

---------------------------------------------------------------------
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