Still not sending attachments.  Sorry for the inconvenience.

Here is the trace from the external output.  

2003/03/11 10:12:31:669 EST [TRACE] GetMethod - -enter GetMethod(String)
2003/03/11 10:12:31:675 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.setRequestContentLength(int)
Setting ContentLength to: 2022007
2003/03/11 10:12:31:677 EST [TRACE] PostMethod - -enter
PostMethod.setRequestBody(InputStream)
2003/03/11 10:12:31:678 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.setRequestBody(InputStream)
2003/03/11 10:12:31:715 EST [TRACE] HttpClient - -enter
HttpClient.executeMethod(HttpMethod)
2003/03/11 10:12:31:716 EST [TRACE] HttpClient - -enter
HttpClient.executeMethod(HostConfiguration,HttpMethod)
2003/03/11 10:12:31:742 EST [DEBUG] HttpConnection -
-HttpConnectionManager.getConnection:  creating  connection for
XX.XXX.XX.215:7201 via null:-1 using protocol: http:80
2003/03/11 10:12:31:743 EST [DEBUG] HttpConnection -
-HttpConnection.setSoTimeout(0)
2003/03/11 10:12:31:744 EST [TRACE] HttpConnection - -enter
HttpConnection.open()
2003/03/11 10:12:31:871 EST [TRACE] HttpMethod - -enter
HttpMethodBase.execute(HttpState, HttpConnection)
2003/03/11 10:12:31:894 EST [TRACE] Authenticator - -enter
Authenticator.authenticate(HttpMethod, HttpState)
2003/03/11 10:12:31:894 EST [TRACE] Authenticator - -enter
Authenticator.authenticate(HttpMethod, HttpState, Header, String)
2003/03/11 10:12:31:895 EST [DEBUG] HttpMethod - -Execute loop try 1
2003/03/11 10:12:31:896 EST [TRACE] HttpMethod - -enter
HttpMethodBase.processRequest(HttpState, HttpConnection)
2003/03/11 10:12:31:896 EST [TRACE] HttpMethod - -Attempt number 1 to write
request
2003/03/11 10:12:31:897 EST [TRACE] HttpMethod - -enter
HttpMethodBase.writeRequest(HttpState, HttpConnection)
2003/03/11 10:12:31:897 EST [TRACE] HttpMethod - -enter
HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
2003/03/11 10:12:31:898 EST [TRACE] HttpMethod - -enter
HttpMethodBase.generateRequestLine(HttpConnection, String, String, String,
String)
2003/03/11 10:12:31:908 EST [TRACE] HttpConnection - -enter
HttpConnection.print(String)
2003/03/11 10:12:31:917 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])
2003/03/11 10:12:31:919 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)
2003/03/11 10:12:31:920 EST [TRACE] HttpMethod - -enter
HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
2003/03/11 10:12:31:920 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.addRequestHeaders(HttpState, HttpConnection)
2003/03/11 10:12:31:921 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
2003/03/11 10:12:31:921 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)
2003/03/11 10:12:31:922 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
2003/03/11 10:12:31:922 EST [DEBUG] HttpMethod - -Adding Host request header
2003/03/11 10:12:31:923 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
2003/03/11 10:12:31:949 EST [TRACE] HttpState - -enter
HttpState.getCookies()
2003/03/11 10:12:31:950 EST [TRACE] CookieSpec - -enter
CookieSpecBase.match(String, int, String, boolean, Cookie[])
2003/03/11 10:12:31:950 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addAuthorizationRequestHeader(HttpState, HttpConnection)
2003/03/11 10:12:31:951 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState, HttpConnection)
2003/03/11 10:12:31:951 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addContentLengthRequestHeader(HttpState, HttpConnection)
2003/03/11 10:12:31:951 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.getRequestContentLength()
2003/03/11 10:12:31:952 EST [TRACE] HttpConnection - -enter
HttpConnection.print(String)
2003/03/11 10:12:31:953 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])
2003/03/11 10:12:31:953 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)
2003/03/11 10:12:31:966 EST [TRACE] HttpConnection - -enter
HttpConnection.print(String)
2003/03/11 10:12:31:967 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])
2003/03/11 10:12:31:969 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)
2003/03/11 10:12:31:970 EST [TRACE] HttpConnection - -enter
HttpConnection.print(String)
2003/03/11 10:12:31:970 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])
2003/03/11 10:12:31:970 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)
2003/03/11 10:12:31:971 EST [TRACE] HttpConnection - -enter
HttpConnection.print(String)
2003/03/11 10:12:31:971 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])
2003/03/11 10:12:31:971 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)
2003/03/11 10:12:31:972 EST [TRACE] HttpConnection - -enter
HttpConnection.print(String)
2003/03/11 10:12:31:972 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])
2003/03/11 10:12:31:976 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)
2003/03/11 10:12:31:977 EST [TRACE] HttpConnection - -enter
HttpConnection.writeLine()
2003/03/11 10:12:31:977 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.writeRequestBody(HttpState, HttpConnection)
2003/03/11 10:12:31:978 EST [DEBUG] EntityEnclosingMethod - -Expecting
response
2003/03/11 10:12:31:987 EST [TRACE] HttpConnection - -enter
HttpConnection.waitForResponse(int)
2003/03/11 10:12:31:987 EST [TRACE] HttpConnection - -enter
HttpConnection.responseAvaliable()
2003/03/11 10:12:31:988 EST [TRACE] HttpConnection - -enter
HttpConnection.responseAvaliable()
-----
  Lots and lots of rows of the same thing deleted to conserve file space.
-----
2003/03/11 10:12:34:986 EST [TRACE] HttpConnection - -enter
HttpConnection.responseAvaliable()
2003/03/11 10:12:34:986 EST [TRACE] HttpConnection - -enter
HttpConnection.responseAvaliable()
2003/03/11 10:12:34:987 EST [DEBUG] HttpConnection - -Waiting for response
timeout
2003/03/11 10:12:34:987 EST [DEBUG] HttpMethod - -Response not available.
Send the request body
2003/03/11 10:12:34:988 EST [TRACE] HttpMethod - -enter
writeRemainingRequestBody(HttpState, HttpConnection)
2003/03/11 10:12:34:988 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.writeRequestBody(HttpState, HttpConnection)
2003/03/11 10:12:34:988 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.getRequestContentLength()
2003/03/11 10:12:34:988 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.getRequestBody()
2003/03/11 10:12:34:988 EST [TRACE] HttpConnection - -enter
HttpConnection.getRequestOutputStream()
2003/03/11 10:59:36:431 EST [DEBUG] EntityEnclosingMethod - -Request body
sent
2003/03/11 10:59:36:431 EST [TRACE] HttpMethod - -enter
HttpMethodBase.readResponse(HttpState, HttpConnection)
2003/03/11 10:59:36:431 EST [TRACE] HttpMethod - -enter
HttpMethodBase.readStatusLine(HttpState, HttpConnection)
2003/03/11 10:59:36:431 EST [TRACE] HttpConnection - -enter
HttpConnection.readLine()
2003/03/11 10:59:36:437 EST [TRACE] HttpParser - -enter
HttpConnection.readLine()
2003/03/11 10:59:36:437 EST [TRACE] HttpParser - -enter
HttpConnection.readRawLine()
2003/03/11 11:03:16:598 EST [TRACE] HttpMethod - -enter
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
2003/03/11 11:03:16:598 EST [TRACE] HttpConnection - -enter
HttpConnection.getResponseInputStream()
2003/03/11 11:03:16:598 EST [TRACE] HttpParser - -enter
HeaderParser.parseHeaders(HttpConnection, HeaderGroup)
2003/03/11 11:03:16:598 EST [TRACE] HttpParser - -enter
HttpConnection.readLine()
2003/03/11 11:03:16:598 EST [TRACE] HttpParser - -enter
HttpConnection.readRawLine()
2003/03/11 11:03:16:599 EST [TRACE] HttpParser - -enter
HttpConnection.readLine()
2003/03/11 11:03:16:600 EST [TRACE] HttpParser - -enter
HttpConnection.readRawLine()
2003/03/11 11:03:16:601 EST [TRACE] HttpParser - -enter
HttpConnection.readLine()
2003/03/11 11:03:16:601 EST [TRACE] HttpParser - -enter
HttpConnection.readRawLine()
2003/03/11 11:03:16:601 EST [TRACE] HttpParser - -enter
HttpConnection.readLine()
2003/03/11 11:03:16:601 EST [TRACE] HttpParser - -enter
HttpConnection.readRawLine()
2003/03/11 11:03:16:603 EST [TRACE] HttpParser - -enter
HttpConnection.readLine()
2003/03/11 11:03:16:603 EST [TRACE] HttpParser - -enter
HttpConnection.readRawLine()
2003/03/11 11:03:16:604 EST [TRACE] HttpMethod - -enter
HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)
2003/03/11 11:03:16:604 EST [TRACE] GetMethod - -enter
GetMethod.readResponseBody(HttpState, HttpConnection)
2003/03/11 11:03:16:604 EST [TRACE] HttpMethod - -enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)
2003/03/11 11:03:16:604 EST [TRACE] HttpMethod - -enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)
2003/03/11 11:03:16:605 EST [TRACE] HttpConnection - -enter
HttpConnection.getResponseInputStream()
2003/03/11 11:03:16:611 EST [TRACE] HeaderElement - -enter
HeaderElement.parse(String)
2003/03/11 11:03:16:612 EST [TRACE] HeaderElement - -enter
HeaderElement.parsePair(char[], int, int)
Response status code: 200
Response body: 
2003/03/11 11:03:16:614 EST [TRACE] GetMethod - -enter
GetMethod.getResponseBody()
2003/03/11 11:03:16:615 EST [TRACE] GetMethod - -enter
GetMethod.getResponseBodyAsStream()
2003/03/11 11:03:16:618 EST [TRACE] HttpConnection - -enter
HttpConnection.releaseConnection()
2003/03/11 11:03:16:618 EST [DEBUG] HttpMethod - -buffering response body
2003/03/11 11:03:16:618 EST [TRACE] HttpMethod - -enter getContentCharSet(
Header contentheader )
2003/03/11 11:03:16:618 EST [TRACE] HeaderElement - -enter
HeaderElement.parse(String)
2003/03/11 11:03:16:618 EST [TRACE] HeaderElement - -enter
HeaderElement.parsePair(char[], int, int)
2003/03/11 11:03:16:619 EST [DEBUG] HttpMethod - -Default charset used:
ISO-8859-1
<message id="0" name="front.servlet.response.status" source="bea"
><result-info><process-code>0</process-code><process-descr>Request processed
sucessfully</process-descr></result-info></message>





Here is the trace from the internal output.

2003/03/11 11:23:50:947 EST [TRACE] GetMethod - -enter GetMethod(String)
2003/03/11 11:23:50:953 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.setRequestContentLength(int)
Setting ContentLength to: 2022007
2003/03/11 11:23:50:955 EST [TRACE] PostMethod - -enter
PostMethod.setRequestBody(InputStream)
2003/03/11 11:23:50:955 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.setRequestBody(InputStream)
2003/03/11 11:23:50:993 EST [TRACE] HttpClient - -enter
HttpClient.executeMethod(HttpMethod)
2003/03/11 11:23:50:993 EST [TRACE] HttpClient - -enter
HttpClient.executeMethod(HostConfiguration,HttpMethod)
2003/03/11 11:23:51:021 EST [DEBUG] HttpConnection -
-HttpConnectionManager.getConnection:  creating  connection for
XXX.XX.XX.86:8088 via null:-1 using protocol: http:80
2003/03/11 11:23:51:021 EST [DEBUG] HttpConnection -
-HttpConnection.setSoTimeout(0)
2003/03/11 11:23:51:022 EST [TRACE] HttpConnection - -enter
HttpConnection.open()
2003/03/11 11:23:51:079 EST [TRACE] HttpMethod - -enter
HttpMethodBase.execute(HttpState, HttpConnection)
2003/03/11 11:23:51:101 EST [TRACE] Authenticator - -enter
Authenticator.authenticate(HttpMethod, HttpState)
2003/03/11 11:23:51:102 EST [TRACE] Authenticator - -enter
Authenticator.authenticate(HttpMethod, HttpState, Header, String)
2003/03/11 11:23:51:103 EST [DEBUG] HttpMethod - -Execute loop try 1
2003/03/11 11:23:51:103 EST [TRACE] HttpMethod - -enter
HttpMethodBase.processRequest(HttpState, HttpConnection)
2003/03/11 11:23:51:103 EST [TRACE] HttpMethod - -Attempt number 1 to write
request
2003/03/11 11:23:51:104 EST [TRACE] HttpMethod - -enter
HttpMethodBase.writeRequest(HttpState, HttpConnection)
2003/03/11 11:23:51:104 EST [TRACE] HttpMethod - -enter
HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
2003/03/11 11:23:51:105 EST [TRACE] HttpMethod - -enter
HttpMethodBase.generateRequestLine(HttpConnection, String, String, String,
String)
2003/03/11 11:23:51:115 EST [TRACE] HttpConnection - -enter
HttpConnection.print(String)
2003/03/11 11:23:51:124 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])
2003/03/11 11:23:51:126 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)
2003/03/11 11:23:51:127 EST [TRACE] HttpMethod - -enter
HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
2003/03/11 11:23:51:127 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.addRequestHeaders(HttpState, HttpConnection)
2003/03/11 11:23:51:128 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
2003/03/11 11:23:51:128 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)
2003/03/11 11:23:51:129 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
2003/03/11 11:23:51:129 EST [DEBUG] HttpMethod - -Adding Host request header
2003/03/11 11:23:51:130 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
2003/03/11 11:23:51:156 EST [TRACE] HttpState - -enter
HttpState.getCookies()
2003/03/11 11:23:51:157 EST [TRACE] CookieSpec - -enter
CookieSpecBase.match(String, int, String, boolean, Cookie[])
2003/03/11 11:23:51:157 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addAuthorizationRequestHeader(HttpState, HttpConnection)
2003/03/11 11:23:51:158 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState, HttpConnection)
2003/03/11 11:23:51:158 EST [TRACE] HttpMethod - -enter
HttpMethodBase.addContentLengthRequestHeader(HttpState, HttpConnection)
2003/03/11 11:23:51:158 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.getRequestContentLength()
2003/03/11 11:23:51:159 EST [TRACE] HttpConnection - -enter
HttpConnection.print(String)
2003/03/11 11:23:51:160 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])
2003/03/11 11:23:51:160 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)
2003/03/11 11:23:51:173 EST [TRACE] HttpConnection - -enter
HttpConnection.print(String)
2003/03/11 11:23:51:174 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])
2003/03/11 11:23:51:176 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)
2003/03/11 11:23:51:177 EST [TRACE] HttpConnection - -enter
HttpConnection.print(String)
2003/03/11 11:23:51:177 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])
2003/03/11 11:23:51:177 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)
2003/03/11 11:23:51:178 EST [TRACE] HttpConnection - -enter
HttpConnection.print(String)
2003/03/11 11:23:51:178 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])
2003/03/11 11:23:51:178 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)
2003/03/11 11:23:51:179 EST [TRACE] HttpConnection - -enter
HttpConnection.print(String)
2003/03/11 11:23:51:179 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])
2003/03/11 11:23:51:183 EST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)
2003/03/11 11:23:51:184 EST [TRACE] HttpConnection - -enter
HttpConnection.writeLine()
2003/03/11 11:23:51:184 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.writeRequestBody(HttpState, HttpConnection)
2003/03/11 11:23:51:185 EST [DEBUG] EntityEnclosingMethod - -Expecting
response
2003/03/11 11:23:51:194 EST [TRACE] HttpConnection - -enter
HttpConnection.waitForResponse(int)
2003/03/11 11:23:51:195 EST [TRACE] HttpConnection - -enter
HttpConnection.responseAvaliable()
2003/03/11 11:23:51:195 EST [TRACE] HttpConnection - -enter
HttpConnection.responseAvaliable()
2003/03/11 11:23:51:196 EST [TRACE] HttpConnection - -enter
HttpConnection.responseAvaliable()
2003/03/11 11:23:51:196 EST [TRACE] HttpConnection - -enter
HttpConnection.responseAvaliable()
2003/03/11 11:23:51:196 EST [TRACE] HttpConnection - -enter
HttpConnection.responseAvaliable()
2003/03/11 11:23:51:198 EST [TRACE] HttpConnection - -enter
HttpConnection.responseAvaliable()
-----
  Lots and lots of rows of the same thing deleted to conserve file space.
-----
2003/03/11 11:23:54:194 EST [TRACE] HttpConnection - -enter
HttpConnection.responseAvaliable()
2003/03/11 11:23:54:194 EST [TRACE] HttpConnection - -enter
HttpConnection.responseAvaliable()
2003/03/11 11:23:54:195 EST [DEBUG] HttpConnection - -Waiting for response
timeout
2003/03/11 11:23:54:195 EST [DEBUG] HttpMethod - -Response not available.
Send the request body
2003/03/11 11:23:54:195 EST [TRACE] HttpMethod - -enter
writeRemainingRequestBody(HttpState, HttpConnection)
2003/03/11 11:23:54:196 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.writeRequestBody(HttpState, HttpConnection)
2003/03/11 11:23:54:196 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.getRequestContentLength()
2003/03/11 11:23:54:196 EST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.getRequestBody()
2003/03/11 11:23:54:196 EST [TRACE] HttpConnection - -enter
HttpConnection.getRequestOutputStream()
2003/03/11 11:23:54:457 EST [DEBUG] EntityEnclosingMethod - -Request body
sent
2003/03/11 11:23:54:458 EST [TRACE] HttpMethod - -enter
HttpMethodBase.readResponse(HttpState, HttpConnection)
2003/03/11 11:23:54:458 EST [TRACE] HttpMethod - -enter
HttpMethodBase.readStatusLine(HttpState, HttpConnection)
2003/03/11 11:23:54:458 EST [TRACE] HttpConnection - -enter
HttpConnection.readLine()
2003/03/11 11:23:54:465 EST [TRACE] HttpParser - -enter
HttpConnection.readLine()
2003/03/11 11:23:54:466 EST [TRACE] HttpParser - -enter
HttpConnection.readRawLine()
2003/03/11 11:23:54:693 EST [TRACE] HttpMethod - -enter
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
2003/03/11 11:23:54:694 EST [TRACE] HttpConnection - -enter
HttpConnection.getResponseInputStream()
2003/03/11 11:23:54:694 EST [TRACE] HttpParser - -enter
HeaderParser.parseHeaders(HttpConnection, HeaderGroup)
2003/03/11 11:23:54:694 EST [TRACE] HttpParser - -enter
HttpConnection.readLine()
2003/03/11 11:23:54:694 EST [TRACE] HttpParser - -enter
HttpConnection.readRawLine()
2003/03/11 11:23:54:695 EST [TRACE] HttpParser - -enter
HttpConnection.readLine()
2003/03/11 11:23:54:695 EST [TRACE] HttpParser - -enter
HttpConnection.readRawLine()
2003/03/11 11:23:54:696 EST [TRACE] HttpParser - -enter
HttpConnection.readLine()
2003/03/11 11:23:54:696 EST [TRACE] HttpParser - -enter
HttpConnection.readRawLine()
2003/03/11 11:23:54:696 EST [TRACE] HttpParser - -enter
HttpConnection.readLine()
2003/03/11 11:23:54:696 EST [TRACE] HttpParser - -enter
HttpConnection.readRawLine()
2003/03/11 11:23:54:697 EST [TRACE] HttpMethod - -enter
HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)
2003/03/11 11:23:54:697 EST [TRACE] GetMethod - -enter
GetMethod.readResponseBody(HttpState, HttpConnection)
2003/03/11 11:23:54:697 EST [TRACE] HttpMethod - -enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)
2003/03/11 11:23:54:697 EST [TRACE] HttpMethod - -enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)
2003/03/11 11:23:54:697 EST [TRACE] HttpConnection - -enter
HttpConnection.getResponseInputStream()
Response status code: 200
Response body: 
2003/03/11 11:23:54:702 EST [TRACE] GetMethod - -enter
GetMethod.getResponseBody()
2003/03/11 11:23:54:702 EST [TRACE] GetMethod - -enter
GetMethod.getResponseBodyAsStream()
2003/03/11 11:23:54:703 EST [TRACE] HttpParser - -enter
HeaderParser.parseHeaders(HttpConnection, HeaderGroup)
2003/03/11 11:23:54:703 EST [TRACE] HttpParser - -enter
HttpConnection.readLine()
2003/03/11 11:23:54:703 EST [TRACE] HttpParser - -enter
HttpConnection.readRawLine()
2003/03/11 11:23:54:704 EST [TRACE] HttpConnection - -enter
HttpConnection.releaseConnection()
2003/03/11 11:23:54:704 EST [DEBUG] HttpMethod - -buffering response body
2003/03/11 11:23:54:704 EST [TRACE] HttpMethod - -enter getContentCharSet(
Header contentheader )
2003/03/11 11:23:54:704 EST [DEBUG] HttpMethod - -Default charset used:
ISO-8859-1
<?xml version="1.0" encoding="UTF-8"?><message id="123"
name="order.return.status"
source="dc"><result-info><process-code>0</process-code><process-descr>succes
s</process-descr></result-info></message>

-----Original Message-----
From: Pani, Gourav 
Sent: Tuesday, March 11, 2003 12:31 PM
To: 'Commons HttpClient Project'
Subject: RE: Problem encountered posting large files


i guess the attached zip file didn't go through.  how about these ones?



-----Original Message-----
From: Pani, Gourav [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 12:20 PM
To: 'Commons HttpClient Project'
Subject: RE: Problem encountered posting large files


Oleg,

We are able to post internally to an echo servlet (running on Resin) without
any problems, so the problem is likely with the configuration of our
partner's application server.  Unfortunately we can't get the required
resources to look into the problem on their side since we already have a
solution working with them.

At this point we are going to keep sending the data using the same code we
are currently using (the socket code listed below) but we thought we'd
include the rest of our research in case it might be able to shed some light
on any possible issues.

Attached are the trace files (IP addresses masked) from sending the same
exact file to our partner (external.output) and to our echo servlet
internally (internal.output).  Clearly it took MUCH longer to send the same
file to our partner than it did to send it internally. But what is really
confusing is that using the socket code we have listed below it takes less
than 30 seconds to send the same file to our partner so that rules out any
network latency.


Thanks,

Gourav



-----Original Message-----
From: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 9:49 AM
To: Commons HttpClient Project
Subject: RE: Problem encountered posting large files


Gourav,

I just concatenated RFC 2616 six times and posted the resulting file (2.5
MB) to an 'echo' servlet running on Tomcat 4.1.18 using PostXML demo
application. The response came back almost instantaneously and overall
process including printing out the response body to the console under
Eclipse took no more than a few seconds. Unless the word of RFC 2616 has
magical bearing upon HTTP protocol related bugs, like that of the Holy Bible
on (non-unix) demons, the problem does appear to be specific to your local
environment. 

Try running your application with logging on, and see if you find any clues
there. 

http://jakarta.apache.org/commons/httpclient/logging.html

You are welcome to post the resultant wire log to this mailing lost for
scrutiny.

Folks, any other ideas?

Oleg

-----Original Message-----
From: Pani, Gourav [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 11. März 2003 15:08
To: 'Commons HttpClient Project'
Subject: RE: Problem encountered posting large files


Oleg,

I can reliably reproduce the problem any time we try posting a large xml
file (> 1 MB).  I'm not sure that I could produce a JUnit test case because
the code executes fine, it simply takes an exponentially long time than it
does using the current code that simply opens a socket and sends the data
(that code is included below).

      // Get URL Connection and Socket
      url = new URL(this.url);
      socket = new Socket(url.getHost(), url.getPort());
      socket.setSoTimeout(BestProperties.getIntProperty("vmu.url.timeout"));
      
      // building request in StringBuffer
      sbRequest.setLength(0);
      sbRequest.append("POST" + " " + url.getFile() + " HTTP/1.0\r");
      sbRequest.append("Content-Type: text/xml\r");
      sbRequest.append("User-Agent: Java 1.4.0\n");
      sbRequest.append("Host: " + url.getHost() + "\n");
      sbRequest.append("Accept: text/html,text/xml,text/plain, */*\n");
      sbRequest.append("Cache-Control: no-cache\n");
      sbRequest.append("Connection: Close\n");
      sbRequest.append("Content-Length: " + stream.length() + "\n");
      sbRequest.append("\n" + stream + "\n");

      // sending the request
      request = new PrintStream(new
BufferedOutputStream(socket.getOutputStream()));
      request.println(sbRequest.toString());
      request.flush();
      // getting response from client
      response = new BufferedReader(new
InputStreamReader(socket.getInputStream()));



- what platform are you using on the client-side and on the server-side?
  We are using Linux on the client and Solaris on the server

- are you using chunk-encoding or not? 
- if not, are you explicitly specifying the content length or not?  
- are you sure that HttpClient does try to buffer the request in order to be
able to determine its size? 
  We are using the PostXML example from the CVS tree.  We made one
modification and that was to include a debug statement so that we knew that
it was setting the ContentLenght to:  2022007

- have you tried posting large files to Tomcat servlet engine running on the
same platform? I have not tried it myself, but I believe quite a few
people have been successfully using HttpClient to post massive files
  Unfortunately this is not an option for us at this time.

-----Original Message-----
From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 5:39 PM
To: Commons HttpClient Project
Subject: RE: Problem encountered posting large files


Gourav,

We will have difficulties addressing this problem unless we know how it
can be reliably reproduced. So, we will need your help on that. A JUnit
test case reproducing the problem would be ideals

More questions:
- what platform are you using on the client-side and on the server-side?
- are you using chunk-encoding or not? 
- if not, are you explicitly specifying the content length or not? 
- are you sure that HttpClient does try to buffer the request in order
to be able to determine its size? 
- have you tried posting large files to Tomcat servlet engine running on
the same platform? I have not tried it myself, but I believe quite a few
people have been successfully using HttpClient to post massive files

Cheers

Oleg 


On Mon, 2003-03-10 at 23:06, Pani, Gourav wrote:
> Oleg,
> 
> -  The HttpClient takes a lot longer to post large files as opposed to
using
> a raw socket.
> -  The header on the HTTP Server is as follows
>       HTTP/1.0 200 OK
>       Date: Mon, 10 Mar 2003 22:02:57 GMT
>       Server: WebLogic WebLogic Temporary Patch for CR072964 04/03/2002
> 10:26:28
>       Content-Length: 0
>       Content-Type: text/xml
>       Connection: Close
> -  We do not get any exceptions because it keeps trying to post and then
the
> thread hangs.  Finally, I just have to kill the thread.  
> 
> 
> Thanks,
> Gourav
> 
> 
> -----Original Message-----
> From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 10, 2003 5:00 PM
> To: Commons HttpClient Project
> Subject: Re: Problem encountered posting large files
> 
> 
> Gourav,
> 
> Help us understand the problem better:
> - Are you saying that it takes longer to post a large file using
> HttpClient compared to using a raw socket?
> - What kind of HTTP server are you posting your request to?
> - What kind of exception are you getting? Can you post the the call
> stack of that exception?
> 
> Oleg
> 
> On Mon, 2003-03-10 at 22:36, Pani, Gourav wrote:
> > I am using HttpClient release 2.0 Alpha 3 using J2SDK1.4.1_01 .  When I
> try
> > posting large files greater than 2MB using the PostXML.java example, I
see
> > the packets going across and get responses back but it takes extremely
> long
> > sending the data and in the process, the connection times out.  
> > 
> > I managed to successfully post and receive a response using the Socket
> > object in a different test program.
> > 
> > Any help is greatly appreciated.
> > 
> > Thanks in Advance.
> > 
> > Gourav
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to