3

mod_jkを使用してApacheによって負荷分散されるglassfish 3.1.2を使用していますが、ping_modeをCまたはAにオンにすると機能しません。

[Wed May 09 08:17:05 2012] [15033:140400029296384] [info] ajp_handle_cping_cpong::jk_ajp_common.c (889): awaited reply cpong, not received
[Wed May 09 08:17:05 2012] [15033:140400029296384] [error] ajp_connect_to_endpoint::jk_ajp_common.c (992): (worker2) cping/cpong after connecting to the backend server failed (errno=0)
[Wed May 09 08:17:05 2012] [15033:140400029296384] [error] ajp_send_request::jk_ajp_common.c (1585): (worker2) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=0)
[Wed May 09 08:17:05 2012] [15033:140400029296384] [info] ajp_service::jk_ajp_common.c (2540): (worker2) sending request to tomcat failed (recoverable), because of error during request sending (attempt=19)
[Wed May 09 08:17:06 2012] [15033:140400029296384] [info] ajp_connection_tcp_get_message::jk_ajp_common.c (1223): (worker2) can't receive the response header message from tomcat, tomcat (192.168.42.83:8009) has forced a connection close for socket 15

ただし、次の行をコメントアウトすると問題なく動作します。アイデアはありますか?

worker.template.ping_mode=A

私のワーカーファイル全体は次のようになります。

worker.list=loadbalancer, status

worker.template.type=ajp13
worker.template.port=8009
worker.template.lbfactor=1
worker.template.socket_timeout=10
worker.template.ping_timeout=10000
worker.template.ping_mode=A
worker.template.connection_pool_size=25
worker.template.connection_pool_timeout=300
worker.template.retries=20

worker.worker1.reference=worker.template
worker.worker1.host=node1

worker.worker2.reference=worker.template
worker.worker2.host=node2

worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=worker1,worker2

worker.status.type=status
4

0 に答える 0