commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Rustad <Aaron.Rus...@terasen.com>
Subject HTTPClient: Receiving 504 Timeout error
Date Thu, 23 Oct 2003 18:00:26 GMT
I have written some code that sends text documents and delivers them to
specific URLs through a POST request. I am using HTTPClient 2.0r1. 

The problem that I am encountering is a 504 Gateway timeout error. I only
send to two different URLS, and one successfully works, and the other gives
me the above error. For the life of me, I can't figure out what is going on.

I am going thru a NT proxy, and I have the neetworking guys set the timeout
to 300 seconds (5 mins). From the machine that is running my code, I can do
a manual post (using a upload html page), and the file is delivered
correctly.

The line in the  log that is first different from the request that succeeds
is this:

[09:01:15,032,HttpConnection] Connection is stale, closing...

This is the log of the request that eventually fails:

[09:01:15,032,HttpService] Setting credentials:
[09:01:15,032,HttpService] Username: null
[09:01:15,032,HttpService] Password: null
[09:01:15,032,HttpState] enter HttpState.setCredentials(String realm, String
host, Credentials credentials)
[09:01:15,032,GetMethod] enter GetMethod(String)
[09:01:15,032,StringPart] enter StringPart(String, String, String)
[09:01:15,032,MultipartPostMethod] enter addPart(Part part)
[09:01:15,032,StringPart] enter StringPart(String, String, String)
[09:01:15,032,MultipartPostMethod] enter addPart(Part part)
[09:01:15,032,StringPart] enter StringPart(String, String, String)
[09:01:15,032,MultipartPostMethod] enter addPart(Part part)
[09:01:15,032,StringPart] enter StringPart(String, String, String)
[09:01:15,032,MultipartPostMethod] enter addPart(Part part)
[09:01:15,032,StringPart] enter StringPart(String, String, String)
[09:01:15,032,MultipartPostMethod] enter addPart(Part part)
[09:01:15,032,MultipartPostMethod] enter addPart(Part part)
[09:01:15,032,HttpClient] enter HttpClient.executeMethod(HttpMethod)
[09:01:15,032,HttpClient] enter
HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
[09:01:15,032,HttpConnection] Connection is stale, closing...
[09:01:15,032,HttpConnection] enter HttpConnection.close()
[09:01:15,032,HttpConnection] enter HttpConnection.closeSockedAndStreams()
[09:01:15,032,HttpConnection] HttpConnection.setSoTimeout(0)
[09:01:15,032,HttpConnection] enter HttpConnection.open()
[09:01:15,063,HttpMethodBase] enter HttpMethodBase.execute(HttpState,
HttpConnection)
[09:01:15,063,HttpMethodBase] Preemptively sending default basic credentials
[09:01:15,063,HttpAuthenticator] enter
HttpAuthenticator.authenticateDefault(HttpMethod, HttpConnection, HttpState)
[09:01:15,063,HttpState] enter HttpState.getCredentials(String, String
[09:01:15,063,BasicScheme] enter
BasicScheme.authenticate(UsernamePasswordCredentials)
[09:01:15,079,HttpMethodBase] Default basic credentials applied
[09:01:15,079,HttpAuthenticator] enter
HttpAuthenticator.authenticateProxyDefault(HttpMethod, HttpState)
[09:01:15,079,HttpState] enter HttpState.getCredentials(String, String
[09:01:15,079,HttpMethodBase] Execute loop try 1
[09:01:15,079,HttpMethodBase] enter HttpMethodBase.processRequest(HttpState,
HttpConnection)
[09:01:15,079,HttpMethodBase] Attempt number 1 to process request
[09:01:15,079,HttpMethodBase] enter HttpMethodBase.writeRequest(HttpState,
HttpConnection)
[09:01:15,079,HttpMethodBase] enter
HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
[09:01:15,079,HttpMethodBase] enter
HttpMethodBase.generateRequestLine(HttpConnection, String, String, String,
String)
[09:01:15,079,wire] >> "POST http://commerce.pge-nw.com/cgi-bin/inbound.pl
<http://commerce.pge-nw.com/cgi-bin/inbound.pl>  HTTP/1.1[\r][\n]"
[09:01:15,079,HttpConnection] enter HttpConnection.print(String)
[09:01:15,079,HttpConnection] enter HttpConnection.write(byte[])
[09:01:15,079,HttpConnection] enter HttpConnection.write(byte[], int, int)
[09:01:15,079,HttpMethodBase] enter
HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
[09:01:15,079,MultipartPostMethod] enter
MultipartPostMethod.addRequestHeaders(HttpState state, HttpConnection conn)
[09:01:15,079,ExpectContinueMethod] enter
ExpectContinueMethod.addRequestHeaders(HttpState, HttpConnection)
[09:01:15,079,HttpMethodBase] enter
HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
[09:01:15,079,HttpMethodBase] enter
HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)
[09:01:15,079,HttpMethodBase] enter
HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
[09:01:15,079,HttpMethodBase] Adding Host request header
[09:01:15,079,HttpMethodBase] enter
HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
[09:01:15,079,HttpState] enter HttpState.getCookies()
[09:01:15,079,CookieSpec] enter CookieSpecBase.match(String, int, String,
boolean, Cookie[])
[09:01:15,079,HttpMethodBase] enter
HttpMethodBase.addAuthorizationRequestHeader(HttpState, HttpConnection)
[09:01:15,079,HttpMethodBase] enter
HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState, HttpConnection)
[09:01:15,079,HttpMethodBase] enter
HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection)
[09:01:15,079,HttpMethodBase] enter
HttpMethodBase.addContentLengthRequestHeader(HttpState, HttpConnection)
[09:01:15,079,MultipartPostMethod] enter
MultipartPostMethod.getRequestContentLength()
[09:01:15,079,Part] getLengthOfParts(Parts[])
[09:01:15,079,Part] enter length()
[09:01:15,079,Part] enter sendStart(OutputStream out)
[09:01:15,079,Part] enter sendDispositionHeader(OutputStream out)
[09:01:15,079,Part] enter sendContentTypeHeader(OutputStream out)
[09:01:15,079,Part] enter sendTransferEncodingHeader(OutputStream out)
[09:01:15,079,Part] enter sendEndOfHeader(OutputStream out)
[09:01:15,079,Part] enter sendEnd(OutputStream out)
[09:01:15,079,StringPart] enter lengthOfData()
[09:01:15,079,Part] enter length()
[09:01:15,079,Part] enter sendStart(OutputStream out)
[09:01:15,079,Part] enter sendDispositionHeader(OutputStream out)
[09:01:15,079,Part] enter sendContentTypeHeader(OutputStream out)
[09:01:15,095,Part] enter sendTransferEncodingHeader(OutputStream out)
[09:01:15,095,Part] enter sendEndOfHeader(OutputStream out)
[09:01:15,095,Part] enter sendEnd(OutputStream out)
[09:01:15,095,StringPart] enter lengthOfData()
[09:01:15,095,Part] enter length()
[09:01:15,095,Part] enter sendStart(OutputStream out)
[09:01:15,095,Part] enter sendDispositionHeader(OutputStream out)
[09:01:15,095,Part] enter sendContentTypeHeader(OutputStream out)
[09:01:15,095,Part] enter sendTransferEncodingHeader(OutputStream out)
[09:01:15,095,Part] enter sendEndOfHeader(OutputStream out)
[09:01:15,095,Part] enter sendEnd(OutputStream out)
[09:01:15,095,StringPart] enter lengthOfData()
[09:01:15,095,Part] enter length()
[09:01:15,095,Part] enter sendStart(OutputStream out)
[09:01:15,095,Part] enter sendDispositionHeader(OutputStream out)
[09:01:15,095,Part] enter sendContentTypeHeader(OutputStream out)
[09:01:15,095,Part] enter sendTransferEncodingHeader(OutputStream out)
[09:01:15,095,Part] enter sendEndOfHeader(OutputStream out)
[09:01:15,095,Part] enter sendEnd(OutputStream out)
[09:01:15,095,StringPart] enter lengthOfData()
[09:01:15,095,Part] enter length()
[09:01:15,095,Part] enter sendStart(OutputStream out)
[09:01:15,095,Part] enter sendDispositionHeader(OutputStream out)
[09:01:15,095,Part] enter sendContentTypeHeader(OutputStream out)
[09:01:15,095,Part] enter sendTransferEncodingHeader(OutputStream out)
[09:01:15,095,Part] enter sendEndOfHeader(OutputStream out)
[09:01:15,095,Part] enter sendEnd(OutputStream out)
[09:01:15,095,StringPart] enter lengthOfData()
[09:01:15,095,Part] enter length()
[09:01:15,095,Part] enter sendStart(OutputStream out)
[09:01:15,095,Part] enter sendDispositionHeader(OutputStream out)
[09:01:15,095,Part] enter sendContentTypeHeader(OutputStream out)
[09:01:15,095,Part] enter sendTransferEncodingHeader(OutputStream out)
[09:01:15,095,Part] enter sendEndOfHeader(OutputStream out)
[09:01:15,095,Part] enter sendEnd(OutputStream out)
[09:01:15,095,wire] >> "Authorization: Basic bnVsbDpudWxs[\r][\n]"
[09:01:15,095,HttpConnection] enter HttpConnection.print(String)
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[])
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[], int, int)
[09:01:15,095,wire] >> "User-Agent: Jakarta
Commons-HttpClient/2.0rc1[\r][\n]"
[09:01:15,095,HttpConnection] enter HttpConnection.print(String)
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[])
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[], int, int)
[09:01:15,095,wire] >> "Host: commerce.pge-nw.com[\r][\n]"
[09:01:15,095,HttpConnection] enter HttpConnection.print(String)
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[])
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[], int, int)
[09:01:15,095,wire] >> "Proxy-Connection: Keep-Alive[\r][\n]"
[09:01:15,095,HttpConnection] enter HttpConnection.print(String)
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[])
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[], int, int)
[09:01:15,095,wire] >> "Content-Length: 2255[\r][\n]"
[09:01:15,095,HttpConnection] enter HttpConnection.print(String)
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[])
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[], int, int)
[09:01:15,095,wire] >> "Content-Type: multipart/form-data;
boundary=----------------314159265358979323846[\r][\n]"
[09:01:15,095,HttpConnection] enter HttpConnection.print(String)
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[])
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[], int, int)
[09:01:15,095,HttpConnection] enter HttpConnection.writeLine()
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[])
[09:01:15,095,HttpConnection] enter HttpConnection.write(byte[], int, int)
[09:01:15,095,HttpConnection] enter
HttpConnection.flushRequestOutputStream()
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,MultipartPostMethod] enter
MultipartPostMethod.writeRequestBody(HttpState state, HttpConnection conn)
[09:01:15,110,HttpConnection] enter HttpConnection.getRequestOutputStream()
[09:01:15,110,Part] enter sendParts(OutputStream out, Parts[])
[09:01:15,110,Part] enter send(OutputStream out)
[09:01:15,110,Part] enter sendStart(OutputStream out)
[09:01:15,110,wire] >> "--"
[09:01:15,110,wire] >> "----------------314159265358979323846"
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,Part] enter sendDispositionHeader(OutputStream out)
[09:01:15,110,wire] >> "Content-Disposition: form-data; name="
[09:01:15,110,wire] >> """
[09:01:15,110,wire] >> "from"
[09:01:15,110,wire] >> """
[09:01:15,110,Part] enter sendContentTypeHeader(OutputStream out)
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,wire] >> "Content-Type: "
[09:01:15,110,wire] >> "text/plain"
[09:01:15,110,wire] >> "; charset="
[09:01:15,110,wire] >> "US-ASCII"
[09:01:15,110,Part] enter sendTransferEncodingHeader(OutputStream out)
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,wire] >> "Content-Transfer-Encoding: "
[09:01:15,110,wire] >> "8bit"
[09:01:15,110,Part] enter sendEndOfHeader(OutputStream out)
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,StringPart] enter sendData(OutputStream)
[09:01:15,110,wire] >> "249953860"
[09:01:15,110,Part] enter sendEnd(OutputStream out)
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,Part] enter send(OutputStream out)
[09:01:15,110,Part] enter sendStart(OutputStream out)
[09:01:15,110,wire] >> "--"
[09:01:15,110,wire] >> "----------------314159265358979323846"
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,Part] enter sendDispositionHeader(OutputStream out)
[09:01:15,110,wire] >> "Content-Disposition: form-data; name="
[09:01:15,110,wire] >> """
[09:01:15,110,wire] >> "to"
[09:01:15,110,wire] >> """
[09:01:15,110,Part] enter sendContentTypeHeader(OutputStream out)
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,wire] >> "Content-Type: "
[09:01:15,110,wire] >> "text/plain"
[09:01:15,110,wire] >> "; charset="
[09:01:15,110,wire] >> "US-ASCII"
[09:01:15,110,Part] enter sendTransferEncodingHeader(OutputStream out)
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,wire] >> "Content-Transfer-Encoding: "
[09:01:15,110,wire] >> "8bit"
[09:01:15,110,Part] enter sendEndOfHeader(OutputStream out)
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,StringPart] enter sendData(OutputStream)
[09:01:15,110,wire] >> "201772480"
[09:01:15,110,Part] enter sendEnd(OutputStream out)
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,Part] enter send(OutputStream out)
[09:01:15,110,Part] enter sendStart(OutputStream out)
[09:01:15,110,wire] >> "--"
[09:01:15,110,wire] >> "----------------314159265358979323846"
[09:01:15,110,wire] >> "[\r][\n]"
[09:01:15,110,Part] enter sendDispositionHeader(OutputStream out)
[09:01:15,110,wire] >> "Content-Disposition: form-data; name="
[09:01:15,110,wire] >> """
[09:01:15,126,wire] >> "input-format"
[09:01:15,126,wire] >> """
[09:01:15,126,Part] enter sendContentTypeHeader(OutputStream out)
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,wire] >> "Content-Type: "
[09:01:15,126,wire] >> "text/plain"
[09:01:15,126,wire] >> "; charset="
[09:01:15,126,wire] >> "US-ASCII"
[09:01:15,126,Part] enter sendTransferEncodingHeader(OutputStream out)
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,wire] >> "Content-Transfer-Encoding: "
[09:01:15,126,wire] >> "8bit"
[09:01:15,126,Part] enter sendEndOfHeader(OutputStream out)
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,StringPart] enter sendData(OutputStream)
[09:01:15,126,wire] >> "X12"
[09:01:15,126,Part] enter sendEnd(OutputStream out)
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,Part] enter send(OutputStream out)
[09:01:15,126,Part] enter sendStart(OutputStream out)
[09:01:15,126,wire] >> "--"
[09:01:15,126,wire] >> "----------------314159265358979323846"
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,Part] enter sendDispositionHeader(OutputStream out)
[09:01:15,126,wire] >> "Content-Disposition: form-data; name="
[09:01:15,126,wire] >> """
[09:01:15,126,wire] >> "trans-id"
[09:01:15,126,wire] >> """
[09:01:15,126,Part] enter sendContentTypeHeader(OutputStream out)
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,wire] >> "Content-Type: "
[09:01:15,126,wire] >> "text/plain"
[09:01:15,126,wire] >> "; charset="
[09:01:15,126,wire] >> "US-ASCII"
[09:01:15,126,Part] enter sendTransferEncodingHeader(OutputStream out)
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,wire] >> "Content-Transfer-Encoding: "
[09:01:15,126,wire] >> "8bit"
[09:01:15,126,Part] enter sendEndOfHeader(OutputStream out)
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,StringPart] enter sendData(OutputStream)
[09:01:15,126,wire] >> "10528"
[09:01:15,126,Part] enter sendEnd(OutputStream out)
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,Part] enter send(OutputStream out)
[09:01:15,126,Part] enter sendStart(OutputStream out)
[09:01:15,126,wire] >> "--"
[09:01:15,126,wire] >> "----------------314159265358979323846"
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,Part] enter sendDispositionHeader(OutputStream out)
[09:01:15,126,wire] >> "Content-Disposition: form-data; name="
[09:01:15,126,wire] >> """
[09:01:15,126,wire] >> "trans-set"
[09:01:15,126,wire] >> """
[09:01:15,126,Part] enter sendContentTypeHeader(OutputStream out)
[09:01:15,126,wire] >> "[\r][\n]"
[09:01:15,126,wire] >> "Content-Type: "
[09:01:15,126,wire] >> "text/plain"
[09:01:15,126,wire] >> "; charset="
[09:01:15,157,wire] >> "US-ASCII"
[09:01:15,157,Part] enter sendTransferEncodingHeader(OutputStream out)
[09:01:15,157,wire] >> "[\r][\n]"
[09:01:15,157,wire] >> "Content-Transfer-Encoding: "
[09:01:15,157,wire] >> "8bit"
[09:01:15,157,Part] enter sendEndOfHeader(OutputStream out)
[09:01:15,157,wire] >> "[\r][\n]"
[09:01:15,157,wire] >> "[\r][\n]"
[09:01:15,157,StringPart] enter sendData(OutputStream)
[09:01:15,157,wire] >> "G850RQCF"
[09:01:15,157,Part] enter sendEnd(OutputStream out)
[09:01:15,157,wire] >> "[\r][\n]"
[09:01:15,157,Part] enter send(OutputStream out)
[09:01:15,157,Part] enter sendStart(OutputStream out)
[09:01:15,157,wire] >> "--"
[09:01:15,157,wire] >> "----------------314159265358979323846"
[09:01:15,157,wire] >> "[\r][\n]"
[09:01:15,157,Part] enter sendDispositionHeader(OutputStream out)
[09:01:15,157,wire] >> "Content-Disposition: form-data; name="
[09:01:15,157,wire] >> """
[09:01:15,157,wire] >> "input-data"
[09:01:15,157,wire] >> """
[09:01:15,157,wire] >> "; filename="
[09:01:15,157,wire] >> """
[09:01:15,157,wire] >> "249953860_201772480_20031023090114.edi"
[09:01:15,157,wire] >> """
[09:01:15,157,Part] enter sendContentTypeHeader(OutputStream out)
[09:01:15,157,wire] >> "[\r][\n]"
[09:01:15,157,wire] >> "Content-Type: "
[09:01:15,157,wire] >> "application/octet-stream"
[09:01:15,157,Part] enter sendTransferEncodingHeader(OutputStream out)
[09:01:15,157,Part] enter sendEndOfHeader(OutputStream out)
[09:01:15,157,wire] >> "[\r][\n]"
[09:01:15,157,wire] >> "[\r][\n]"
[09:01:15,157,HttpService] DocumentPart Data: -----BEGIN PGP MESSAGE-----
Version: PGP 6.5.8

hQCMA8i0sHg4td7xAQP7BJlytFS/A7shENuQGneGl714ofL23ZOHdd8U3XsHGX8e
2wpLTYGT2RkNVXXeQI8CDnNNsgz0T3UbY8brQhJkhTUaxZb8JoUh0v45RoYGY7S/
RlmVgVcDUk+GcK0F4x/UEGqkjKhwL2Q5VGZ7hXXqqGDG8DWlkcKU/ogDFZkzre2l
Amz6ghaRiKX+UumQh7jyDeKmIvulxy+T58kl3TRAEyU//mBoUHkAml8eaOWJtG2O
lXV16zJmPZywvy2rtSgBnoPHOSqqIkUnnDVOi3iFkcRjlhfmBw4g+ODDw+v93INi
MIuBYXIMrs4KZTl9F/qTJzXmmVTjy+zNRAdIPplmXpx7moLVrzbFTQ0WO9i4NPyG
tccQiPURugnI/nj7iSWWkJQMcMkBRABa1kCg08GMu+saBcdAsR4A7wGgSlvYhjTc
wDP71WpZItA+04ft0Ojn8KhaXQLs1z32mm61F3DStXLMTmOjdSU9NuQi2XPtXyNN
lYSDZbYoK2rtIsobSi9tc7an03T5ilvlDDYVBMEEzfNbURJ3qiBrJSfKJIlmfnrW
4CLdiAVQkLUa8lWHawxIVgnUl7cWQWoIBDkd9xf9XROwKTcVbRsTnfFpqskAdwze
ZCMZK7BvgFlFdkLqlnkxeUxlEuW6wtNYa0ztSNuLGeZrgQA6EdkbXfiUvoC+CvS4
zbIWMUdbg6I30gGEfES52orufjJzAuApdjyd+M9OtDPHK4Edy9tX2Hzw/syMWe8M
a94XhibeakEjJ2V+gE4ToT75dJH0DAFHJp43Vr8SS/scmC9muqC0d+2IkMIYkRj1
NFeWctjiv/PlblnydLce1ULG/3pfFc8TIngT3sDXasR1GGR48lKVz+xWKA1b6gkW
GkAZskQjUKI4GuYxFgrD2gAshMLM4Km/l0C4dQU5k4+b4kdjnpNxPF9ytcr5U05c
MGzy/dPNCPm2knQLClWM+gv3q48jWOeQ63yx3acPNchLTyj1cor6F97i0RCwDw==
=YsP5
-----END PGP MESSAGE-----

[09:01:15,173,wire] >> "-----BEGIN PGP MESSAGE-----[\r][\n]"
[09:01:15,173,wire] >> "Version: PGP 6.5.8[\r][\n]"
[09:01:15,173,wire] >> "[\r][\n]"
[09:01:15,173,wire] >>
"hQCMA8i0sHg4td7xAQP7BJlytFS/A7shENuQGneGl714ofL23ZOHdd8U3XsHGX8e[\r][\n]"
[09:01:15,173,wire] >>
"2wpLTYGT2RkNVXXeQI8CDnNNsgz0T3UbY8brQhJkhTUaxZb8JoUh0v45RoYGY7S/[\r][\n]"
[09:01:15,173,wire] >>
"RlmVgVcDUk+GcK0F4x/UEGqkjKhwL2Q5VGZ7hXXqqGDG8DWlkcKU/ogDFZkzre2l[\r][\n]"
[09:01:15,173,wire] >>
"Amz6ghaRiKX+UumQh7jyDeKmIvulxy+T58kl3TRAEyU//mBoUHkAml8eaOWJtG2O[\r][\n]"
[09:01:15,173,wire] >>
"lXV16zJmPZywvy2rtSgBnoPHOSqqIkUnnDVOi3iFkcRjlhfmBw4g+ODDw+v93INi[\r][\n]"
[09:01:15,173,wire] >>
"MIuBYXIMrs4KZTl9F/qTJzXmmVTjy+zNRAdIPplmXpx7moLVrzbFTQ0WO9i4NPyG[\r][\n]"
[09:01:15,173,wire] >>
"tccQiPURugnI/nj7iSWWkJQMcMkBRABa1kCg08GMu+saBcdAsR4A7wGgSlvYhjTc[\r][\n]"
[09:01:15,173,wire] >>
"wDP71WpZItA+04ft0Ojn8KhaXQLs1z32mm61F3DStXLMTmOjdSU9NuQi2XPtXyNN[\r][\n]"
[09:01:15,173,wire] >>
"lYSDZbYoK2rtIsobSi9tc7an03T5ilvlDDYVBMEEzfNbURJ3qiBrJSfKJIlmfnrW[\r][\n]"
[09:01:15,173,wire] >>
"4CLdiAVQkLUa8lWHawxIVgnUl7cWQWoIBDkd9xf9XROwKTcVbRsTnfFpqskAdwze[\r][\n]"
[09:01:15,173,wire] >>
"ZCMZK7BvgFlFdkLqlnkxeUxlEuW6wtNYa0ztSNuLGeZrgQA6EdkbXfiUvoC+CvS4[\r][\n]"
[09:01:15,173,wire] >>
"zbIWMUdbg6I30gGEfES52orufjJzAuApdjyd+M9OtDPHK4Edy9tX2Hzw/syMWe8M[\r][\n]"
[09:01:15,173,wire] >>
"a94XhibeakEjJ2V+gE4ToT75dJH0DAFHJp43Vr8SS/scmC9muqC0d+2IkMIYkRj1[\r][\n]"
[09:01:15,173,wire] >>
"NFeWctjiv/PlblnydLce1ULG/3pfFc8TIngT3sDXasR1GGR48lKVz+xWKA1b6gkW[\r][\n]"
[09:01:15,173,wire] >>
"GkAZskQjUKI4GuYxFgrD2gAshMLM4Km/l0C4dQU5k4+b4kdjnpNxPF9ytcr5U05c[\r][\n]"
[09:01:15,173,wire] >>
"MGzy/dPNCPm2knQLClWM+gv3q48jWOeQ63yx3acPNchLTyj1cor6F97i0RCwDw==[\r][\n]"
[09:01:15,173,wire] >> "=YsP5[\r][\n]"
[09:01:15,173,wire] >> "-----END PGP MESSAGE-----[\r][\n]"
[09:01:15,173,Part] enter sendEnd(OutputStream out)
[09:01:15,173,wire] >> "[\r][\n]"
[09:01:15,173,wire] >> "--"
[09:01:15,173,wire] >> "----------------314159265358979323846"
[09:01:15,173,wire] >> "--"
[09:01:15,173,wire] >> "[\r][\n]"
[09:01:15,173,HttpConnection] enter
HttpConnection.flushRequestOutputStream()
[09:01:15,173,HttpMethodBase] enter HttpMethodBase.readResponse(HttpState,
HttpConnection)
[09:01:15,173,HttpMethodBase] enter HttpMethodBase.readStatusLine(HttpState,
HttpConnection)
[09:01:15,173,HttpConnection] enter HttpConnection.readLine()
[09:06:54,641,wire] << "HTTP/1.1 504 Proxy Timeout ( Connection timed out.
For more information about this event, see ISA Server Help.  )[\r][\n]"
[09:06:54,641,HttpMethodBase] enter
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
[09:06:54,641,HttpConnection] enter HttpConnection.getResponseInputStream()
[09:06:54,641,HttpParser] enter HeaderParser.parseHeaders(HttpConnection,
HeaderGroup)
[09:06:54,641,HttpParser] enter HttpParser.readLine()
[09:06:54,641,HttpParser] enter HttpParser.readRawLine()
[09:06:54,641,HttpParser] enter HttpParser.readLine()
[09:06:54,641,HttpParser] enter HttpParser.readRawLine()
[09:06:54,641,HttpParser] enter HttpParser.readLine()
[09:06:54,641,HttpParser] enter HttpParser.readRawLine()
[09:06:54,641,HttpParser] enter HttpParser.readLine()
[09:06:54,641,HttpParser] enter HttpParser.readRawLine()
[09:06:54,641,HttpParser] enter HttpParser.readLine()
[09:06:54,641,HttpParser] enter HttpParser.readRawLine()
[09:06:54,641,HttpParser] enter HttpParser.readLine()
[09:06:54,641,HttpParser] enter HttpParser.readRawLine()
[09:06:54,641,wire] << "Via: 1.1 DCISAP02[\r][\n]"
[09:06:54,641,wire] << "Pragma: no-cache[\r][\n]"
[09:06:54,641,wire] << "Cache-Control: no-cache[\r][\n]"
[09:06:54,641,wire] << "Content-Type: text/html[\r][\n]"
[09:06:54,641,wire] << "Content-Length: 2177[\r][\n]"
[09:06:54,641,HttpMethodBase] enter
HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)
[09:06:54,641,GetMethod] enter GetMethod.readResponseBody(HttpState,
HttpConnection)
[09:06:54,641,HttpMethodBase] enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)
[09:06:54,641,HttpMethodBase] enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)
[09:06:54,641,HttpConnection] enter HttpConnection.getResponseInputStream()
[09:06:54,641,HttpService] HTTP request returned :504
[09:06:54,657,Property] findErrorCode method
[09:06:54,657,DB] Entering prepare()
[09:06:54,657,DB] Preparing statement for query: SELECT ERROR_CODE,
DESCRIPTION  FROM WINS_EDI_ERROR_CODE  WHERE ERROR_CODE = ?
[09:06:54,657,DB] DB.DataSourceGateway.prepare()
[09:06:54,657,DB] Datasource: org.jboss.pool.jdbc.xa.XAPoolDataSource@541b02
[09:06:54,657,DB] Query: SELECT ERROR_CODE, DESCRIPTION  FROM
WINS_EDI_ERROR_CODE  WHERE ERROR_CODE = ?
[09:06:54,657,Property] Returning errorcode:
errorCode=EEDM1001,description=failed to send an RFC document]
[09:06:54,673,DocumentManager] An error occurred sending the document.
com.bcgas.edi.comm.http.HttpSendException: HttpService can't send the
document: 249953860_201772480_20031023090114.ediURL:
http://commerce.pge-nw.com/cgi-bin/inbound.pl
<http://commerce.pge-nw.com/cgi-bin/inbound.pl>  httpclient-status: 504
	at com.bcgas.edi.comm.http.HttpService.sendDocument(Unknown Source)
	at com.bcgas.edi.DocumentManager.deliverDocuments(Unknown Source)
	at com.bcgas.edi.sched.DocumentScheduler.perform(Unknown Source)
	at
org.jboss.util.Scheduler$Listener.handleNotification(Scheduler.java:811)
	at
com.sun.management.jmx.MBeanServerNotificationListener.handleNotification(MB
eanServerNotificationListener.java:48)
	at
javax.management.NotificationBroadcasterSupport.sendNotification(Notificatio
nBroadcasterSupport.java:142)
	at javax.management.timer.Timer.sendNotification(Timer.java:1119)
	at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1089)
	at javax.management.timer.TimerAlarmClock.run(Timer.java:1165)
[09:06:55,970,Directory] Moving processed file with errors.
[09:06:55,985,DocumentManager] Exiting: deliverDocuments()


If anyone can help me out on this, I would GREATLY appreciate it!

Thanks!
Aaron.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message