1

我在 8080 上运行的 tomcat

运行在 80 上的阿帕奇

我实施了

<Location />
    ProxyPass ajp://localhost:8080/ retry=0 timeout=30
    ProxyPassReverse ajp://localhost:8080/
       </Location>

我无法通过 apache 访问我的 java 应用程序,并且我不断收到错误消息

[Thu May 23 15:47:33 2013] [error] (120006)APR does not understand this error code: proxy: read response failed from (null) (localhost)
[Thu May 23 15:48:15 2013] [error] (70014)End of file found: ajp_ilink_receive() can't receive header
[Thu May 23 15:48:15 2013] [error] ajp_read_header: ajp_ilink_receive failed
[Thu May 23 15:48:15 2013] [error] (120006)APR does not understand this error code: proxy: read response failed from (null) (localhost)

任何建议解决 ajp 代理错误

4

1 回答 1

5

如果您检查server.xmlAJP 连接器默认侦听端口 8009 - 您正在尝试将 AJP 绑定到端口 8080 上的 HTTP 连接器。

请查看mod_proxy_ajp使用信息

于 2013-05-23T11:59:56.300 回答