apache 2.2.27 mok-jk 1.2.23 tomcat 7.0.54
我的应用程序是文件上传/下载应用程序,当我下载文件一段时间然后停止tomcat时,我得到这样的文件流(tcpdump):
.K...t4..RVx.....a..M~.q.%....2uv.....\......=
..tK.....j....$S.V.....qB..Z5.....E..T8)...D...q.f.J..!.....l..v].p.J.N..ag....6V-
cSW.2.z....5.o.........>j....JT...*-
H..>.....L....n...7F.Pl.S.1....%n...7.u.L...j....zS..ve..S)T.^.z..lC.0...j.J.rF.?
H...Mz,......u..d....D...Rj,....T@......J........#8.B
.........j..)....E..fr.i..7B......n......L\yRX.....Sx}..|.Vyb..f.V4..
<!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
mod-jk日志显示:
[Fri Jul 25 11:23:12.327 2014] [7172:1107310912] [error] ajp_get_reply::jk_ajp_common.c (2088): (s1) Tomcat is down or network problems. Part of the response has already been sent to the client
[Fri Jul 25 11:23:12.443 2014] [7172:1107310912] [error] ajp_send_request::jk_ajp_common.c (1578): (s1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111)
[Fri Jul 25 11:23:12.543 2014] [7172:1107310912] [error] ajp_send_request::jk_ajp_common.c (1578): (s1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111)
[Fri Jul 25 11:23:12.543 2014] [7172:1107310912] [error] ajp_service::jk_ajp_common.c (2562): (s1) connecting to tomcat failed.
因为流中包含最后一部分,所以我无法再次从上次收到的结尾处下载。
我对apache 2.2.25进行了测试,这个问题不存在,任何人都可以帮助我吗?
非常感谢。