You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by As...@alcatel.co.in on 2004/06/23 11:19:56 UTC

AJP13 connection problem

Hi,

I have Apache and Tomcat running on two different SUN machines.
I get following error on trying to access a servlet.
Though things work fine if Tomcat and Apache are running on same machine.


[Tue Jun 22 15:09:01 2004]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Jun 22 15:09:01 2004]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/servlet/s4'
[Tue Jun 22 15:09:01 2004]  [jk_uri_worker_map.c (502)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match loadbalancer
-> /servlet/
[Tue Jun 22 15:09:01 2004]  [jk_worker.c (132)]: Into
wc_get_worker_for_name loadbalancer
[Tue Jun 22 15:09:01 2004]  [jk_worker.c (136)]: wc_get_worker_for_name,
done  found a worker
[Tue Jun 22 15:09:01 2004]  [jk_lb_worker.c (527)]: Into
jk_worker_t::get_endpoint
[Tue Jun 22 15:09:01 2004]  [jk_lb_worker.c (310)]: Into
jk_endpoint_t::service
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (1404)]: Into
jk_worker_t::get_endpoint
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (1116)]: Into
jk_endpoint_t::service
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (295)]: Into
ajp_marshal_into_msgb
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (432)]: ajp_marshal_into_msgb
- Done
[Tue Jun 22 15:09:01 2004]  [jk_connect.c (132)]: Into jk_open_socket
[Tue Jun 22 15:09:01 2004]  [jk_connect.c (139)]: jk_open_socket, try to
connect socket = 7
[Tue Jun 22 15:09:01 2004]  [jk_connect.c (148)]: jk_open_socket, after
connect ret = -1
[Tue Jun 22 15:09:01 2004]  [jk_connect.c (177)]: jk_open_socket, connect()
failed errno = 146
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (626)]: Error connecting to
tomcat. Tomcat is probably not started or is listenning on the wrong port.
Failed errno =
 146
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (874)]: Error connecting to
the Tomcat process.
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (1190)]: sending request to
tomcat failed in send loop. err=0
[Tue Jun 22 15:09:01 2004]  [jk_connect.c (132)]: Into jk_open_socket
[Tue Jun 22 15:09:01 2004]  [jk_connect.c (139)]: jk_open_socket, try to
connect socket = 7
[Tue Jun 22 15:09:01 2004]  [jk_connect.c (148)]: jk_open_socket, after
connect ret = -1
[Tue Jun 22 15:09:01 2004]  [jk_connect.c (177)]: jk_open_socket, connect()
failed errno = 146
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (626)]: Error connecting to
tomcat. Tomcat is probably not started or is listenning on the wrong port.
Failed errno =
 146
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (874)]: Error connecting to
the Tomcat process.
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (1190)]: sending request to
tomcat failed in send loop. err=1
[Tue Jun 22 15:09:01 2004]  [jk_connect.c (132)]: Into jk_open_socket
[Tue Jun 22 15:09:01 2004]  [jk_connect.c (139)]: jk_open_socket, try to
connect socket = 7
[Tue Jun 22 15:09:01 2004]  [jk_connect.c (148)]: jk_open_socket, after
connect ret = -1
[Tue Jun 22 15:09:01 2004]  [jk_connect.c (177)]: jk_open_socket, connect()
failed errno = 146
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (626)]: Error connecting to
tomcat. Tomcat is probably not started or is listenning on the wrong port.
Failed errno =
 146
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (874)]: Error connecting to
the Tomcat process.
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (1190)]: sending request to
tomcat failed in send loop. err=2
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (1198)]: Error connecting to
tomcat. Tomcat is probably not started or is listenning on the wrong port.
Failed errno
= 146
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (1388)]: Into
jk_endpoint_t::done, closing connection 0
[Tue Jun 22 15:09:01 2004]  [jk_ajp_common.c (561)]: In
jk_endpoint_t::ajp_close_endpoint
[Tue Jun 22 15:09:01 2004]  [jk_lb_worker.c (369)]: In
jk_endpoint_t::service, recoverable error... will try to recover on other
host
[Tue Jun 22 15:09:01 2004]  [jk_lb_worker.c (373)]: lb: All tomcat
instances failed, no more workers left.
[Tue Jun 22 15:09:01 2004]  [jk_lb_worker.c (380)]: In
jk_endpoint_t::service: NULL Parameters
[Tue Jun 22 15:09:01 2004]  [jk_lb_worker.c (389)]: Into
jk_endpoint_t::done



Regards
-AB



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org