我的tomcat在8080上运行
apache在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代理错误
答案 0 :(得分:5)
如果您在端口8009上检查server.xml
AJP连接器默认侦听 - 您正尝试将AJP绑定到端口8080上的HTTP连接器。