You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by laredotornado <la...@gmail.com> on 2008/12/04 21:10:27 UTC
java.net.SocketException: Unconnected sockets not implemented
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
Re: java.net.SocketException: Unconnected sockets not implemented
Posted by sebb <se...@gmail.com>.
Furthermore, the bug has been fixed in SVN, and will be in the next
release of JMeter.
On 16/01/2009, laredotornado <la...@gmail.com> wrote:
>
> I'm all about closure and so I wanted to update this thread. I followed the
> suggestion below (putting 1.5 earlier in the path) and it worked.
>
> - Dave
>
>
>
>
> sebb-2-2 wrote:
> >
> > On 22/12/2008, laredotornado <la...@gmail.com> wrote:
> >>
> >> It shows 1.6.0_11 !
> >>
> >> http://screencast.com/t/0YyDQSNeupa
> >>
> >> But how could this be? JAVA_HOME is set to the 1.5 JRE and PATH also
> >> includes 1.5 and excludes 1.6. - Dave
> >>
> >
> > It's probably found Java 1.6 earlier in the PATH, e.g. in Windows or
> > Windows\System
> >
> > Try adding Java 1.5 to the start of the PATH.
> >
> >>
> >>
> >> sebb-2-2 wrote:
> >> >
> >> > On 19/12/2008, laredotornado <la...@gmail.com> 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 <la...@gmail.com> 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 <la...@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
> >> >> >> >
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> 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
> >> >
> >> >
> >> >
> >>
> >> --
> >>
> >> View this message in context:
> >> http://www.nabble.com/java.net.SocketException%3A-Unconnected-sockets-not-implemented-tp20841464p21128545.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-tp20841464p21504214.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
Re: java.net.SocketException: Unconnected sockets not implemented
Posted by laredotornado <la...@gmail.com>.
I'm all about closure and so I wanted to update this thread. I followed the
suggestion below (putting 1.5 earlier in the path) and it worked.
- Dave
sebb-2-2 wrote:
>
> On 22/12/2008, laredotornado <la...@gmail.com> wrote:
>>
>> It shows 1.6.0_11 !
>>
>> http://screencast.com/t/0YyDQSNeupa
>>
>> But how could this be? JAVA_HOME is set to the 1.5 JRE and PATH also
>> includes 1.5 and excludes 1.6. - Dave
>>
>
> It's probably found Java 1.6 earlier in the PATH, e.g. in Windows or
> Windows\System
>
> Try adding Java 1.5 to the start of the PATH.
>
>>
>>
>> sebb-2-2 wrote:
>> >
>> > On 19/12/2008, laredotornado <la...@gmail.com> 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 <la...@gmail.com> 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 <la...@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
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >> --
>> >> >> 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
>> >
>> >
>> >
>>
>> --
>>
>> View this message in context:
>> http://www.nabble.com/java.net.SocketException%3A-Unconnected-sockets-not-implemented-tp20841464p21128545.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-tp20841464p21504214.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
Re: java.net.SocketException: Unconnected sockets not implemented
Posted by sebb <se...@gmail.com>.
On 22/12/2008, laredotornado <la...@gmail.com> wrote:
>
> It shows 1.6.0_11 !
>
> http://screencast.com/t/0YyDQSNeupa
>
> But how could this be? JAVA_HOME is set to the 1.5 JRE and PATH also
> includes 1.5 and excludes 1.6. - Dave
>
It's probably found Java 1.6 earlier in the PATH, e.g. in Windows or
Windows\System
Try adding Java 1.5 to the start of the PATH.
>
>
> sebb-2-2 wrote:
> >
> > On 19/12/2008, laredotornado <la...@gmail.com> 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 <la...@gmail.com> 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 <la...@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
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >> --
> >> >> 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
> >
> >
> >
>
> --
>
> View this message in context: http://www.nabble.com/java.net.SocketException%3A-Unconnected-sockets-not-implemented-tp20841464p21128545.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
Re: java.net.SocketException: Unconnected sockets not implemented
Posted by laredotornado <la...@gmail.com>.
It shows 1.6.0_11 !
http://screencast.com/t/0YyDQSNeupa
But how could this be? JAVA_HOME is set to the 1.5 JRE and PATH also
includes 1.5 and excludes 1.6. - Dave
sebb-2-2 wrote:
>
> On 19/12/2008, laredotornado <la...@gmail.com> 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 <la...@gmail.com> 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 <la...@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
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> 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
>
>
>
--
View this message in context: http://www.nabble.com/java.net.SocketException%3A-Unconnected-sockets-not-implemented-tp20841464p21128545.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
Re: java.net.SocketException: Unconnected sockets not implemented
Posted by sebb <se...@gmail.com>.
On 19/12/2008, laredotornado <la...@gmail.com> 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 <la...@gmail.com> 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 <la...@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
> >> >
> >> >
> >> >
> >>
> >>
> >> --
> >> 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
Re: java.net.SocketException: Unconnected sockets not implemented
Posted by laredotornado <la...@gmail.com>.
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
Alas, I still get the same error when running JMeter and trying to make an
HTTPS connection. - Dave
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 <la...@gmail.com> 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 <la...@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
>> >
>> >
>> >
>>
>>
>> --
>> 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
Re: java.net.SocketException: Unconnected sockets not implemented
Posted by sebb <se...@gmail.com>.
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 <la...@gmail.com> 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 <la...@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
> >
> >
> >
>
>
> --
> 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
Re: java.net.SocketException: Unconnected sockets not implemented
Posted by laredotornado <la...@gmail.com>.
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 <la...@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
>
>
>
--
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
Re: java.net.SocketException: Unconnected sockets not implemented
Posted by sebb <se...@gmail.com>.
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 <la...@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