Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 49398 invoked from network); 16 Nov 2009 23:18:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Nov 2009 23:18:04 -0000 Received: (qmail 84935 invoked by uid 500); 16 Nov 2009 23:18:03 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 84855 invoked by uid 500); 16 Nov 2009 23:18:03 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 84845 invoked by uid 99); 16 Nov 2009 23:18:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 23:18:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 23:18:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 95F74234C045 for ; Mon, 16 Nov 2009 15:17:39 -0800 (PST) Message-ID: <400343988.1258413459602.JavaMail.jira@brutus> Date: Mon, 16 Nov 2009 23:17:39 +0000 (UTC) From: "shyam sundar g (JIRA)" To: dev@hc.apache.org Subject: [jira] Commented: (HTTPCLIENT-891) java.net.SocketException: Unconnected sockets not implemented thrown In-Reply-To: <482530529.1258322149036.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778638#action_12778638 ] shyam sundar g commented on HTTPCLIENT-891: ------------------------------------------- Hi,I used HTTPPost method to connect to the server and it was working. So we decided to migrate to HTTPClient 4.0 now. I have a doubt here.How to mention the target path in the destination server where the file uploaded should be saved. In HTTPClient 3.1 the target path can be mentioned in MultiPartPost constructor method but in HTTPCLient 4 this class is removed. Can i use MultiPartEntity object to mention the target path Thankls for the support. Thanks Shyam > java.net.SocketException: Unconnected sockets not implemented thrown > -------------------------------------------------------------------- > > Key: HTTPCLIENT-891 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-891 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 4.0 Final > Environment: Application Server : Websphere application server 6.1.0.23 > Java : JDK 1.5.0.16 > Reporter: shyam sundar g > Fix For: 4.0 Final > > Original Estimate: 0h > Remaining Estimate: 0h > > 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.(Throwable.java:196) > at java.lang.Exception.(Exception.java:41) > at java.io.IOException.(IOException.java:40) > at java.net.SocketException.(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. > Kindly help to solve this problem as the production deployment is delayed because of this error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org