Hi Kim
Despite hitting the destination. Connection is closed on the response.
So watching the logs they don't get back even 30 minutes later....
Ah.. I was so sure I fixed this sometime towards the end of last year
like I said :-) , but forgot exactly when and under which JIRA.. This
seems most definitely like http://issues.apache.org/jira/browse/SYNAPSE-462
For your successful case, the logs shows:
2009-03-12 13:03:41,934 [192.168.0.204-icsws-kh] [I/O dispatcher 1]
DEBUG headers << HTTP/1.1 200 OK
2009-03-12 13:03:41,934 [192.168.0.204-icsws-kh] [I/O dispatcher 1]
DEBUG headers << Date: Thu, 12 Mar 2009 02:04:10 GMT
2009-03-12 13:03:41,934 [192.168.0.204-icsws-kh] [I/O dispatcher 1]
DEBUG headers << Content-Type: text/xml;charset=UTF-8
2009-03-12 13:03:41,934 [192.168.0.204-icsws-kh] [I/O dispatcher 1]
DEBUG headers << Keep-Alive: timeout=15, max=100
2009-03-12 13:03:41,934 [192.168.0.204-icsws-kh] [I/O dispatcher 1]
DEBUG headers << Connection: Keep-Alive
2009-03-12 13:03:41,934 [192.168.0.204-icsws-kh] [I/O dispatcher 1]
DEBUG headers << Transfer-Encoding: chunked
And for the failure case:
2009-03-12 12:16:53,798 [192.168.16.133-icslt-dr2] [I/O dispatcher 1]
DEBUG headers << HTTP/1.1 200 OK
2009-03-12 12:16:53,798 [192.168.16.133-icslt-dr2] [I/O dispatcher 1]
DEBUG headers << Date: Thu, 12 Mar 2009 01:17:12 GMT
2009-03-12 12:16:53,798 [192.168.16.133-icslt-dr2] [I/O dispatcher 1]
DEBUG headers << Content-Type: text/xml;charset=UTF-8
2009-03-12 12:16:53,798 [192.168.16.133-icslt-dr2] [I/O dispatcher 1]
DEBUG headers << Connection: close
2009-03-12 12:16:53,798 [192.168.16.133-icslt-dr2] [I/O dispatcher 1]
DEBUG headers << Transfer-Encoding: chunked
Note that the connection close event was incorrectly processed with
Synapse 1.2, and was later fixed to read in whats already in the buffers
(in this case you seem to have data in the buffers too)
Please try the latest nightly from
http://hudson.zones.apache.org/hudson/job/Synapse - Trunk/lastStableBuild/
cheers
asankha
--
Asankha C. Perera
AdroitLogic, http://adroitlogic.org
http://esbmagic.blogspot.com