It's not a secret anymore!*
The moose likes Java in General and the fly likes HTTPClient-java.net.SocketException: Unconnected sockets not implemented thrown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "HTTPClient-java.net.SocketException: Unconnected sockets not implemented thrown" Watch "HTTPClient-java.net.SocketException: Unconnected sockets not implemented thrown" New topic
Author

HTTPClient-java.net.SocketException: Unconnected sockets not implemented thrown

shyam sundar magaral govindan
Greenhorn

Joined: Nov 15, 2009
Posts: 1
Iam using HTTPClient 4.0 to connect a remote server and transfer file using HTTPS.
When i tried to connect i get the exception "java.net.SocketException: Unconnected sockets not implemented".
Please look at the stack trace
java.net.SocketException: Unconnected sockets not implemented
at java.lang.Throwable.<init>(Throwable.java:196)
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at java.net.SocketException.<init>(SocketException.java:29)
at javax.net.SocketFactory.createSocket(SocketFactory.java:2)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(Unknown Source)
at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at co.com.personalsoft.ftpseguro.utilidades.TransmisionHTTP.ejecutarTransmisionHTTP(TransmisionHTTP.java:107)
at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmisionAuto(TransmisionFTPNew.java:483)
at co.com.personalsoft.ftpseguro.utilidades.TransmisionFTPNew.ejecutarTransmision(TransmisionFTPNew.java:1016)
at co.com.personalsoft.ftpautomatico.ConexionThread.run(ConexionThread.java:58)
at java.lang.Thread.run(Thread.java:595)


The same error is found while using HTTP Client 3.1.

Environement
Application Server : Websphere application server 6.1.0.23
Java : JDK 1.5.0.16

Kindly help to solve this problem as the production deployment is delayed because of this error.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTPClient-java.net.SocketException: Unconnected sockets not implemented thrown
 
Similar Threads
LDAP Connection
com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:
Downloading files from a HTTPS server
Do jnlp file updates itself
Problem with Testing my RMI BusinessLogic with more than 200 Threads