From Dennis.Norrod@DET.AMEDD.ARMY.MIL Thu Jul 10 14:35:18 2003 Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 32523 invoked from network); 10 Jul 2003 14:35:18 -0000 Received: from dasmthefl803.amedd.army.mil (140.139.7.194) by daedalus.apache.org with SMTP; 10 Jul 2003 14:35:18 -0000 Received: by dasmthefl803.amedd.army.mil with Internet Mail Service (5.5.2656.59) id <3R1HTFWP>; Thu, 10 Jul 2003 10:35:12 -0400 Message-ID: From: "Norrod, Dennis G Mr Veridian-MRJ" To: commons-user@jakarta.apache.org Subject: [HttpClient] Uploading large files (~>30MB) throws SocketExceptio n Date: Thu, 10 Jul 2003 10:35:10 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C346F0.773D7E80" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C346F0.773D7E80 Content-Type: text/plain; charset="iso-8859-1" Hi Guys, I have code that uses MultipartPostMethod to upload files to a servlet that uses FileUpload. All file transfers to localhost work fine. Files <30MB, transferred to a remote server, work fine. Files >30MB fail with this error (from HttpClient.executeMethod(HttpMethod)): java.net.SocketException: Software caused connection abort: socket write error The servlet on the remote server runs in Oracle's 9iAS with OC4J. All file transfers to the remote server via an IE form work fine. Looking at the HttpClient wire trace, everything looks normal - until the data just stops getting sent. I've tried setting HttpClient.setTimeout() and HttpClient.setConnectionTimeout() to zero and 9999999 - same results. I'm using HttpClient 2.0 Beta 2. An added twist, though I doubt it matters: I have to go through a VPN to get to the remote server; I'm already connected to it - the code I wrote doesn't worry about it. Any ideas on other things I can look at? Thanks. Dennis ------_=_NextPart_001_01C346F0.773D7E80--