The correspong setting in Tomcat:: <Connector port='8010" enableLookups="false" redirectPort="8443" protocol="AJP/1.3">
workers.properties is: worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8010 The web server can run for about one day,but suddently it can't response to the user's request.After I restartet tomcat ,it would run normally.I want to know how it happened.What's wrong? On 4/27/06, fooshyn <[EMAIL PROTECTED]> wrote: > > > --Tomcat is probably not started or is listening on the wrong port-- > > Probably the Tomcat or AJP port setting is wrong? Seems that your tomcat > runs on port 8010...what are your settings for Tomcat AJP connector? > > HTH > > FooShyn > > > -----Original Message----- > From: tang jie [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 27, 2006 2:07 PM > To: users@tomcat.apache.org > Subject: jk can't connect to tomcat > > 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 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >