I sometimes met the problem that apache can't connect to tomcat
through jk.Iwant to know why,the records of mod_jk.log  like:

[Wed Apr 26 18:46:54 2006] [error] ajp_service::jk_ajp_common.c (1758):
Error connecting to tomcat. Tomcat is probably not started or is listening
on the wrong port. worker=worker1 failed
[Wed Apr 26 18:46:54 2006] [info]  jk_handler::mod_jk.c (1985): Service
error=0 for worker=worker1
[Wed Apr 26 18:46:54 2006] [info]  jk_open_socket::jk_connect.c (444):
connect to 127.0.0.1:8010 failed with errno=111
[Wed Apr 26 18:46:54 2006] [info]  ajp_connect_to_endpoint::jk_ajp_common.c
(889): Failed opening socket to (127.0.0.1:8010) with (errno=111)
[Wed Apr 26 18:46:54 2006] [info]  ajp_send_request::jk_ajp_common.c (1248):
Error connecting to the Tomcat process.
[Wed Apr 26 18:46:54 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=1
[Wed Apr 26 18:46:54 2006] [info]  jk_open_socket::jk_connect.c (444):
connect to 127.0.0.1:8010 failed with errno=111
[Wed Apr 26 18:46:54 2006] [info]  ajp_connect_to_endpoint::jk_ajp_common.c
(889): Failed opening socket to (127.0.0.1:8010) with (errno=111)
[Wed Apr 26 18:46:54 2006] [info]  ajp_send_request::jk_ajp_common.c (1248):
Error connecting to the Tomcat process.
[Wed Apr 26 18:46:54 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=2
[Wed Apr 26 18:46:54 2006] [info]  jk_open_socket::jk_connect.c (444):
connect to 127.0.0.1:8010 failed with errno=111
[Wed Apr 26 18:46:54 2006] [info]  ajp_connect_to_endpoint::jk_ajp_common.c
(889): Failed opening socket to (127.0.0.1:8010) with (errno=111)
[Wed Apr 26 18:46:54 2006] [info]  ajp_send_request::jk_ajp_common.c (1248):
Error connecting to the Tomcat process.
[Wed Apr 26 18:46:54 2006] [info]  ajp_service::jk_ajp_common.c (1749):
Sending request to tomcat failed,  recoverable operation attempt=3

Reply via email to