mod_jk perdendo conexão com tomcat

1

Estou executando um Apache tomcat + mod_jk 1.2.40 atrás de um servidor web apache.

Tudo foi configurado e funciona adequadamente por algum tempo desde a inicialização de um tomcat (mensurável em dias / semanas); então algo acontece, e mod_jk perde a conexão com o tomcat.

Além do que acontece (na verdade, não tenho certeza do que acontece, estou solucionando problemas), estou procurando algum suporte sobre o motivo pelo qual a conexão entre o jk e o tomcat é perdida. Aqui segue a parte dos logs mod_jk em torno do problema de conexão perdida:

[Wed Dec 10 09:28:21 2014] [26331:140365639858112] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized
[Wed Dec 10 09:28:37 2014] [12546:140365639858112] [info] ajp_send_request::jk_ajp_common.c (1652): (workerName) all endpoints are disconnected, detected by connect check (1), cping (0), send (0)
...
[Wed Dec 10 09:28:49 2014] [26331:140365639858112] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized
[Wed Dec 10 09:29:02 2014] [13683:140365639858112] [info] jk_open_socket::jk_connect.c (758): connect to 127.0.0.1:8071 failed (errno=111)
[Wed Dec 10 09:29:02 2014] [13683:140365639858112] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1019): Failed opening socket to (127.0.0.1:8071) (errno=111)
[Wed Dec 10 09:29:02 2014] [13683:140365639858112] [error] ajp_send_request::jk_ajp_common.c (1663): (workerName) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111)
[Wed Dec 10 09:29:02 2014] [13683:140365639858112] [info] ajp_service::jk_ajp_common.c (2673): (workerName) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)
[Wed Dec 10 09:29:02 2014] [13626:140365639858112] [info] jk_open_socket::jk_connect.c (758): connect to 127.0.0.1:8071 failed (errno=111)
[Wed Dec 10 09:29:02 2014] [13626:140365639858112] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1019): Failed opening socket to (127.0.0.1:8071) (errno=111)
[Wed Dec 10 09:29:02 2014] [13626:140365639858112] [error] ajp_send_request::jk_ajp_common.c (1663): (workerName) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111)
[Wed Dec 10 09:29:02 2014] [13626:140365639858112] [info] ajp_service::jk_ajp_common.c (2673): (workerName) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)
[Wed Dec 10 09:29:02 2014] [13683:140365639858112] [info] jk_open_socket::jk_connect.c (758): connect to 127.0.0.1:8071 failed (errno=111)
[Wed Dec 10 09:29:02 2014] [13683:140365639858112] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1019): Failed opening socket to (127.0.0.1:8071) (errno=111)
[Wed Dec 10 09:29:02 2014] [13683:140365639858112] [error] ajp_send_request::jk_ajp_common.c (1663): (workerName) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111)
[Wed Dec 10 09:29:02 2014] [13683:140365639858112] [info] ajp_service::jk_ajp_common.c (2673): (workerName) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)
[Wed Dec 10 09:29:02 2014] [13683:140365639858112] [error] ajp_service::jk_ajp_common.c (2693): (workerName) connecting to tomcat failed.
[Wed Dec 10 09:29:02 2014] [13683:140365639858112] [info] jk_handler::mod_jk.c (2806): Service error=-3 for worker=workerName

Eu acho que "mod_jk / 1.2.40 inicializado" significa que o mod_jk está iniciando: se eu reiniciar o tomcat, tudo funcionará corretamente novamente por dias / semanas.

Você poderia me dar alguma sugestão? Obrigado

    
por reallynice 16.12.2014 / 13:55

0 respostas