应用程序无法正常工作并因以下原因而失败。有人可以帮忙吗。
连接apache -> tomcat
错误日志
[Mon Sep 10 03:00:07.123556 2018] [proxy_ajp:error] [pid 12345] (104)Connection reset by peer: AH01030: ajp_ilink_receive() can't receive header
ssl_error_log
[Mon Sep 10 03:00:07.123456 2018] [proxy_ajp:error] [pid 12345] [client 10.10.34.901:56789] AH00992: ajp_read_header: ajp_ilink_receive failed,
Tomcat 配置
<Connector port="8009"
protocol="AJP/1.3"
maxConnections="256"
keepAliveTimeout="30000"
redirectPort="8443">
Apache 配置
ProxyPass / ajp://localhost:8009/ timeout=600
ProxyPassReverse / ajp://localhost:8009/ timeout=600
最佳答案
ProxyPass
需要 an additional argument ,例如
ProxyPass / ajp://localhost:8009/ ...
关于apache - 无法从 apache 连接到 tomcat 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52254077/