主要的步骤是按照各种相关博客上写的。但是整合了一整天了,总是出现各种问题
问题1:connect to 196.0.81.0:8009 failed (errno=60)
[Mon May 12 15:18:56.337 2014] [204:5904] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1019): Failed opening socket to (196.0.81.0:8009) (errno=60)
这里我把配置文件workers.properties中worker.ajp13.host=127.0.0.1 #本机,若上面的Apache主机不为localhost,作相应修改 host改成127.0.0.1 一般博客上都是localhost
改完之后,问题就变成了
(ajp13) can't receive the response header message from tomcat, tomcat (127.0.0.1:8009) has forced a connection close for socket 720
[Mon May 12 21:17:24.053 2014] [8044:7376] [error] ajp_get_reply::jk_ajp_common.c (2172): (ajp13) Tomcat is down or refused connection. No response has been sent to the client (yet)
[Mon May 12 21:17:24.053 2014] [8044:7376] [info] ajp_service::jk_ajp_common.c (2669): (ajp13) sending request to tomcat failed (recoverable), (attempt=1)