Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5612F7FC2 for ; Wed, 31 Aug 2011 12:45:36 +0000 (UTC) Received: (qmail 28737 invoked by uid 500); 31 Aug 2011 12:45:35 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 28533 invoked by uid 500); 31 Aug 2011 12:45:34 -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 28513 invoked by uid 99); 31 Aug 2011 12:45:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 12:45:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2011 12:45:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id EFB2F43CD3 for ; Wed, 31 Aug 2011 12:45:09 +0000 (UTC) Date: Wed, 31 Aug 2011 12:45:09 +0000 (UTC) From: "Sebb (JIRA)" To: dev@hc.apache.org Message-ID: <1859516488.2357.1314794709978.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1343878304.2169.1314791410013.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HTTPCLIENT-1121) httpclient 4.1.2: ssl connection can not be setup using sun jvm 64-Bit Server VM (build 1.5.0_10-b03, mixed mode) on linux 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-1121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb updated HTTPCLIENT-1121: ----------------------------- Priority: Major (was: Blocker) > httpclient 4.1.2: ssl connection can not be setup using sun jvm 64-Bit Server VM (build 1.5.0_10-b03, mixed mode) on linux > --------------------------------------------------------------------------------------------------------------------------- > > Key: HTTPCLIENT-1121 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1121 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 4.1.2 > Environment: GNU linux 2.6.5-7.286 > Reporter: F. Chen > Labels: connection, problem, ssl > Fix For: 4.1.2 > > Attachments: TestDriver2.java > > Original Estimate: 24h > Remaining Estimate: 24h > > Hi, > We are trying to replace httpclient 3.x with 4.1.2 and want to use some new features in 4.1.2. > Our test program tries to use HTTPS to make a web call on a remote server. > Our test program runs fine under jdk 1.6. and it gets the following under JDK 1.5 which it is our production environment. > java.net.SocketException: Socket Closed > at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:201) > at java.net.Socket.setTcpNoDelay(Socket.java:838) > at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.setTcpNoDelay(BaseSSLSocketImpl.java:309) > at org.apache.http.impl.conn.DefaultClientConnectionOperator.prepareSocket(DefaultClientConnectionOperator.java:222) > at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:153) > at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149) > at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121) > at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573) > at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425) > at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820) > at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:776) > at net.amadeus.sip.httplink.client.TestDriver2.sendMessage(TestDriver2.java:175) > at net.amadeus.sip.httplink.client.TestDriver2.main(TestDriver2.java:242) > If needed, i can upload my test program. > Can you please investigate why the httpclient 4.1.2 does not work under JDK 1.5.x? > Thanks for any idea and help. > Fenghui -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org