无法从apache连接到tomcat服务器

问题描述 投票:0回答:1

应用程序无法正常工作并失败。有人可以帮忙吗?

连接apache - > tomcat

错误日志

[Mon Sep 10 03:00:07.123556 2018] [proxy_ajp:error] [pid 12345](104)通过对等方重置连接:AH01030:ajp_ilink_receive()无法接收标头

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失败,

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
apache tomcat connectivity
1个回答
0
投票

ProxyPass需要an additional argument,例如

ProxyPass / ajp://localhost:8009/ ...
© www.soinside.com 2019 - 2024. All rights reserved.