htresponseGetChunk:没有读完整个块

时间:2018-02-15 10:55:37

标签: httpd.conf websphere-7

将IBM HTTP Server(Web Server)连接到WebSphere(App Server)时遇到问题。这个问题是间歇性的。它导致页面未完全加载(有时是空白)。我已经跟踪过这个问题并得知有时Web服务器无法从App Server读取数据响应。

然后我启用日志插件(plugin-cfg.xml)到TRACE。在比较成功和失败的日志之后,我在失败的请求中得到了这个:

[Tue Feb 13 02:42:14 2018] 00006f2a 0000024e - TRACE:lib_htresponse:htresponseGetChunk:没有读完整个块21583

成功响应示例:

[Tue Feb 13 02:40:52 2018] 00006f2a 0000025a - TRACE: lib_htresponse: htresponseGetChunk: Getting the next chunk
[Tue Feb 13 02:40:52 2018] 00006f2a 0000025a - TRACE: lib_htresponse: htresponseGetChunk: Chunk length hex: 998 -> 
[Tue Feb 13 02:40:52 2018] 00006f2a 0000025a - TRACE: ws_common: websphereReplyToBrowser: Read body of length |
[Tue Feb 13 02:40:52 2018] 00006f2a 0000025a - TRACE: mod_was_ap22_http: cb_write_body: In the write body callback writing 
[Tue Feb 13 02:40:52 2018] 00006f2a 0000025a - TRACE: lib_htresponse: htresponseGetChunk: Getting the next 
[Tue Feb 13 02:40:52 2018] 00006f2a 0000025a - TRACE: lib_htresponse: htresponseGetChunk: Chunk length hex: 544f -> 21583
[Tue Feb 13 02:40:52 2018] 00006f2a 0000025a - TRACE: ws_common: websphereReplyToBrowser: Read body of length |21583|
[Tue Feb 13 02:40:52 2018] 00006f2a 0000025a - TRACE: mod_was_ap22_http: cb_write_body: In the write body callback writing 21583
[Tue Feb 13 02:40:52 2018] 00006f2a 0000025a - TRACE: lib_htresponse: htresponseGetChunk: Getting the next chunk
[Tue Feb 13 02:40:52 2018] 00006f2a 0000025a - TRACE: lib_htresponse: htresponseGetChunk: Chunk length hex: 5 -> 5

响应失败的示例:

[Tue Feb 13 02:42:14 2018] 00006f2a 0000024e - TRACE: lib_htresponse: htresponseGetChunk: Getting the next 
[Tue Feb 13 02:42:14 2018] 00006f2a 0000024e - TRACE: lib_htresponse: htresponseGetChunk: Chunk length hex: 998 -> 
[Tue Feb 13 02:42:14 2018] 00006f2a 0000024e - TRACE: ws_common: websphereReplyToBrowser: Read body of length |
[Tue Feb 13 02:42:14 2018] 00006f2a 0000024e - TRACE: mod_was_ap22_http: cb_write_body: In the write body callback writing 
[Tue Feb 13 02:42:14 2018] 00006f2a 0000024e - TRACE: lib_htresponse: htresponseGetChunk: Getting the next 
[Tue Feb 13 02:42:14 2018] 00006f2a 0000024e - TRACE: lib_htresponse: htresponseGetChunk: Chunk length hex: 544f -> 
[Tue Feb 13 02:42:14 2018] 00006f2a 0000024e - TRACE: lib_htresponse: htresponseGetChunk: Didn't read the full chunk 
[Tue Feb 13 02:42:14 2018] 00006f2a 0000024e - TRACE: lib_htresponse: htresponseDestroyChunkedFooters: Destroying the chunked footers

我搜索过这个问题并且没有得到任何解释和根本原因。如果有人遇到同样的问题,请告诉我

0 个答案:

没有答案