Oliver Erlewein on January 16th, 2009

jmeter-logoToday I spent half a day on an issue with JMeter. I do lots of HTTPS testing and on some of my new PC’s running Ubuntu 8.10 JMeter would only give me…

java.net.SocketException: Unconnected sockets not implemented

After a lot of searching I discovered that this seems to be an HTTPS change in the Java 1.6.0 implementation. Sockets are created in a different way than under 1.5.0. So if you run into this issue just go back to Java 1.5.0. This problem surfaced with JMeter 2.3.2 but I guess it is true for earlier versions too.

Under Ubuntu do the following:

apt-get install sun-java5-bin
update-alternatives --config java

And select Java 1.5.0 when prompted.

Tags: , , , ,

Leave a Reply

You must be logged in to post a comment.