我在RedHat上做Jboss集群(JDK 1.5.0.12,Jboss 4.0.5 GA,apache 2.2.4,apache mod_jk 1.2.23),有三台机器192.168.1.78(Jboss节点,节点名为: Node2,端口:8888),192.168.1.79(Jboss节点,节点名为:Node1,端口:8888),192.168.1.80(Apache服务器,端口:8080),现在各节点均启动成功,并且:http://192.168.1.(78/79):8888均成功出现Jboss的欢迎界面,Apache服务启动也成功,用netstat命令查看,有8080监听端口存在,但是输入:http://192.168.1.80:8080出现如下503错误:Service Temporarily Unavailable !mod_jk.log内容如下:
[Sun Aug 15 13:06:30 2010][3346:30944] [info] init_jk::mod_jk.c (2743): mod_jk/1.2.23 initialized
[Sun Aug 15 13:06:30 2010][3347:30944] [info] init_jk::mod_jk.c (2743): mod_jk/1.2.23 initialized
[Sun Aug 15 13:12:15 2010][3348:30944] [info] ajp_connection_tcp_get_message::jk_ajp_common.c (945): (node1) Tomcat has forced a connection close for socket 13
[Sun Aug 15 13:12:15 2010][3348:30944] [error] ajp_get_reply::jk_ajp_common.c (1592): (node1) Tomcat is down or refused connection. No response has been sent to the client (yet)
[Sun Aug 15 13:12:15 2010][3348:30944] [info] ajp_service::jk_ajp_common.c (1902): (node1) receiving from tomcat failed, recoverable operation attempt=0
[Sun Aug 15 13:12:15 2010][3348:30944] [info] ajp_service::jk_ajp_common.c (1941): (node1) sending request to tomcat failed, recoverable operation attempt=1
[Sun Aug 15 13:12:35 2010][3348:30944] [info] ajp_connection_tcp_get_message::jk_ajp_common.c (945): (node1) Tomcat has forced a connection close for socket 13
[Sun Aug 15 13:12:35 2010][3348:30944] [error] ajp_get_reply::jk_ajp_common.c (1592): (node1) Tomcat is down or refused connection. No response has been sent to the client (yet)
[Sun Aug 15 13:12:35 2010][3348:30944] [info] ajp_service::jk_ajp_common.c (1902): (node1) receiving from tomcat failed, recoverable operation attempt=1
[Sun Aug 15 13:12:35 2010][3348:30944] [info] ajp_service::jk_ajp_common.c (1941): (node1) sending request to tomcat failed, recoverable operation attempt=2
[Sun Aug 15 13:12:35 2010][3348:30944] [error] ajp_service::jk_ajp_common.c (1953): (node1) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
[Sun Aug 15 13:12:35 2010][3348:30944] [info] service::jk_lb_worker.c (1098): service failed, worker node1 is in error state
[Sun Aug 15 13:12:55 2010][3348:30944] [info] ajp_connection_tcp_get_message::jk_ajp_common.c (945): (node2) Tomcat has forced a connection close for socket 13
[Sun Aug 15 13:12:55 2010][3348:30944] [error] ajp_get_reply::jk_ajp_common.c (1592): (node2) Tomcat is down or refused connection. No response has been sent to the client (yet)
[Sun Aug 15 13:12:55 2010][3348:30944] [info] ajp_service::jk_ajp_common.c (1902): (node2) receiving from tomcat failed, recoverable operation attempt=0
[Sun Aug 15 13:12:55 2010][3348:30944] [info] ajp_service::jk_ajp_common.c (1941): (node2) sending request to tomcat failed, recoverable operation attempt=1
[Sun Aug 15 13:13:15 2010][3348:30944] [info] ajp_connection_tcp_get_message::jk_ajp_common.c (945): (node2) Tomcat has forced a connection close for socket 13
[Sun Aug 15 13:13:15 2010][3348:30944] [error] ajp_get_reply::jk_ajp_common.c (1592): (node2) Tomcat is down or refused connection. No response has been sent to the client (yet)
[Sun Aug 15 13:13:15 2010][3348:30944] [info] ajp_service::jk_ajp_common.c (1902): (node2) receiving from tomcat failed, recoverable operation attempt=1
[Sun Aug 15 13:13:15 2010][3348:30944] [info] ajp_service::jk_ajp_common.c (1941): (node2) sending request to tomcat failed, recoverable operation attempt=2
[Sun Aug 15 13:13:15 2010][3348:30944] [error] ajp_service::jk_ajp_common.c (1953): (node2) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
[Sun Aug 15 13:13:15 2010][3348:30944] [info] service::jk_lb_worker.c (1098): service failed, worker node2 is in error state
[Sun Aug 15 13:13:15 2010][3348:30944] [info] service::jk_lb_worker.c (1160): All tomcat instances are busy or in error state
[Sun Aug 15 13:13:15 2010]loadbalancer 192.168.1.80 79.993839
[Sun Aug 15 13:13:15 2010][3348:30944] [info] jk_handler::mod_jk.c (2254): Service error=0 for worker=loadbalancerApache的连接数已改成如下:
<IfModule mpm_prefork_module>
  ServerLimit 2000
  StartServers 10
  MinSpareServers 5
  MaxSpareServers 10
  MaxClients 2000
  MaxRequestsPerChild 1000
</IfModule>
请各位大虾指点一二。谢谢了!