请帮我解决以下问题。
我们在Windows 7系统中安装了Apache Http Server 2.2.25。 我们在2个物理系统中安装了2个tomcat,并将tomcat与Jasper服务器绑定在一起 我们已经配置了Httpd.conf文件,还创建了workers.properties文件。 workers.properties文件包含如下,
worker.list=worker1,worker2
worker.list=balancer
worker.worker1.port=8080
worker.worker1.host=***.***.*.****
worker.worker1.type=ajp13
worker.worker1.lbfactor=2
worker.worker2.port=1111
worker.worker2.host=***.***.*.****
worker.worker2.type=ajp13
worker.worker2.lbfactor=3
worker.balancer.type=lb
worker.balancer.balance_workers=worker1,worker2
worker.balancer.method=B
worker.balancer.sticky_session=True
我们收到以下错误,
[info] jk_ajp_common.c (945): (worker1) Tomcat has forced a connection close for socket 732.
[error] jk_ajp_common.c (1592): (worker1) Tomcat is down or refused connection. No response has been sent to the client (yet).
[info] jk_ajp_common.c (1902): (worker1) receiving from tomcat failed, recoverable operation attempt=0.
[info] jk_ajp_common.c (1941): (worker1) sending request to tomcat failed, recoverable operation attempt=1.
[info] jk_ajp_common.c (945): (worker1) Tomcat has forced a connection close for socket 732.
[error] jk_ajp_common.c (1592): (worker1) Tomcat is down or refused connection. No response has been sent to the client (yet).
[info] jk_ajp_common.c (1902): (worker1) receiving from tomcat failed, recoverable operation attempt=1.
[info] jk_ajp_common.c (1941): (worker1) sending request to tomcat failed, recoverable operation attempt=2.
[error] jk_ajp_common.c (1953): (worker1) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port.
[info] jk_lb_worker.c (1098): service failed, worker worker1 is in error state.
提前多多谢谢 B Rama Krishna
答案 0 :(得分:0)
您必须使用端口8009或您在tomcat中配置的端口到AJP连接器。
另见: