0 Replies Latest reply: May 10, 2011 10:09 AM by Dinesh venkatesan RSS

    problem in jboss while configuring load balance with Apache

    Dinesh venkatesan Newbie

      Hi all,

       

      I have done load balancing with mod_jk connector and Apache in jboss 4.its working fine.I can access the appklication in both webserver and application server also.

       

      I am using jboss 4.3,mod_jk connector 1.2.28,apache 2.2.11.Everything is working fine but after sometime i am getting service temporarily unavailable error while accessing through web server.

       

      I have seen mod_jk error log file its showing some error ..But the same application working fine in jboss. If i restart the jboss i am not getting any error and application working fine in web server also.

       

      Error log for mod_jk:-

       

      [Thu May 05 21:36:45 2011][4911:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Thu May 05 21:36:45 2011][4911:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Thu May 05 21:36:45 2011][4911:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)

      [Thu May 05 21:36:55 2011][4911:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Thu May 05 21:36:57 2011][4911:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Thu May 05 21:36:57 2011][4911:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Thu May 05 21:36:57 2011][4911:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)

      [Thu May 05 21:36:57 2011][4911:3086235392] [error] ajp_service::jk_ajp_common.c (2466): (node1) connecting to tomcat failed.

      [Thu May 05 21:36:57 2011][4911:3086235392] [info] service::jk_lb_worker.c (1384): service failed, worker node1 is in error state

      [Thu May 05 21:36:57 2011][4911:3086235392] [info] service::jk_lb_worker.c (1436): Forcing recovery once for 1 workers

      [Thu May 05 21:37:07 2011][4911:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Thu May 05 21:37:09 2011][4911:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Thu May 05 21:37:09 2011][4911:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Thu May 05 21:37:09 2011][4911:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)

      [Thu May 05 21:37:19 2011][4911:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Thu May 05 21:37:21 2011][4911:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Thu May 05 21:37:21 2011][4911:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Thu May 05 21:37:21 2011][4911:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)

      [Thu May 05 21:37:21 2011][4911:3086235392] [error] ajp_service::jk_ajp_common.c (2466): (node1) connecting to tomcat failed.

      [Thu May 05 21:37:21 2011][4911:3086235392] [info] service::jk_lb_worker.c (1384): service failed, worker node1 is in error state

      [Thu May 05 21:37:21 2011][4911:3086235392] [info] service::jk_lb_worker.c (1464): All tomcat instances are busy or in error state

      [Thu May 05 21:37:21 2011][4911:3086235392] [error] service::jk_lb_worker.c (1469): All tomcat instances failed, no more workers left

      [Thu May 05 21:37:21 2011][4911:3086235392] [info] jk_handler::mod_jk.c (2615): Service error=0 for worker=loadbalancer

      [Thu May 05 21:37:31 2011][4093:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Thu May 05 21:37:33 2011][4093:3086235392] [info] ajp_send_request::jk_ajp_common.c (1442): (node1) failed sending request, socket -1 prepost cping/cpong failure (errno=110)

      [Thu May 05 21:37:33 2011][4093:3086235392] [info] ajp_send_request::jk_ajp_common.c (1496): (node1) all endpoints are disconnected, detected by connect check (0), cping (1), send (0)

      [Thu May 05 21:37:43 2011][4093:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Thu May 05 21:37:45 2011][4093:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Thu May 05 21:37:45 2011][4093:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Thu May 05 21:37:45 2011][4093:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)

      [Thu May 05 21:37:55 2011][4093:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Thu May 05 21:37:57 2011][4093:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Thu May 05 21:37:57 2011][4093:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Thu May 05 21:37:57 2011][4093:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)

      [Thu May 05 21:37:57 2011][4093:3086235392] [error] ajp_service::jk_ajp_common.c (2466): (node1) connecting to tomcat failed.

      [Thu May 05 21:37:57 2011][4093:3086235392] [info] service::jk_lb_worker.c (1384): service failed, worker node1 is in error state

      [Thu May 05 21:37:57 2011][4093:3086235392] [info] service::jk_lb_worker.c (1436): Forcing recovery once for 1 workers

      [Thu May 05 21:38:07 2011][4093:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Thu May 05 21:38:09 2011][4093:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Thu May 05 21:38:09 2011][4093:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Thu May 05 21:38:09 2011][4093:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)

      [Thu May 05 21:38:19 2011][4093:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Thu May 05 21:38:21 2011][4093:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Thu May 05 21:38:21 2011][4093:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Thu May 05 21:38:21 2011][4093:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)

      [Thu May 05 21:38:21 2011][4093:3086235392] [error] ajp_service::jk_ajp_common.c (2466): (node1) connecting to tomcat failed.

      [Thu May 05 21:38:21 2011][4093:3086235392] [info] service::jk_lb_worker.c (1384): service failed, worker node1 is in error state

      [Thu May 05 21:38:21 2011][4093:3086235392] [info] service::jk_lb_worker.c (1464): All tomcat instances are busy or in error state

      [Thu May 05 21:38:21 2011][4093:3086235392] [error] service::jk_lb_worker.c (1469): All tomcat instances failed, no more workers left

      [Thu May 05 21:38:21 2011][4093:3086235392] [info] jk_handler::mod_jk.c (2615): Service error=0 for worker=loadbalancer

      [Thu May 05 21:38:21 2011][4625:3086235392] [warn] map_uri_to_worker_ext::jk_uri_worker_map.c (962): Uri * is invalid. Uri must start with /

      [Thu May 05 22:59:44 2011][1442:3086235392] [info] ajp_send_request::jk_ajp_common.c (1496): (node1) all endpoints are disconnected, detected by connect check (1), cping (0), send (0)

      [Thu May 05 22:59:54 2011][1442:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Thu May 05 22:59:56 2011][1442:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Thu May 05 22:59:56 2011][1442:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Thu May 05 22:59:56 2011][1442:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)

      [Thu May 05 23:00:06 2011][1442:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Thu May 05 23:00:08 2011][1442:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Thu May 05 23:00:08 2011][1442:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Thu May 05 23:00:08 2011][1442:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)

      [Thu May 05 23:00:08 2011][1442:3086235392] [error] ajp_service::jk_ajp_common.c (2466): (node1) connecting to tomcat failed.

      [Thu May 05 23:00:08 2011][1442:3086235392] [info] service::jk_lb_worker.c (1384): service failed, worker node1 is in error state

      [Thu May 05 23:00:09 2011][1442:3086235392] [info] service::jk_lb_worker.c (1436): Forcing recovery once for 1 workers

      [Thu May 05 23:00:19 2011][1442:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Thu May 05 23:00:21 2011][1442:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Thu May 05 23:00:21 2011][1442:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Thu May 05 23:00:21 2011][1442:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)

      [Thu May 05 23:00:31 2011][1442:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Thu May 05 23:00:33 2011][1442:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Thu May 05 23:00:33 2011][1442:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Thu May 05 23:00:33 2011][1442:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)

      [Thu May 05 23:00:33 2011][1442:3086235392] [error] ajp_service::jk_ajp_common.c (2466): (node1) connecting to tomcat failed.

      [Thu May 05 23:00:33 2011][1442:3086235392] [info] service::jk_lb_worker.c (1384): service failed, worker node1 is in error state

      [Thu May 05 23:00:33 2011][1442:3086235392] [info] service::jk_lb_worker.c (1464): All tomcat instances are busy or in error state

      [Thu May 05 23:00:33 2011][1442:3086235392] [error] service::jk_lb_worker.c (1469): All tomcat instances failed, no more workers left

      [Thu May 05 23:00:33 2011][1442:3086235392] [info] jk_handler::mod_jk.c (2615): Service error=0 for worker=loadbalancer

      [Fri May 06 09:20:56 2011][10573:3086235392] [info] ajp_send_request::jk_ajp_common.c (1496): (node1) all endpoints are disconnected, detected by connect check (1), cping (0), send (0)

      [Fri May 06 09:21:06 2011][10573:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Fri May 06 09:21:08 2011][10573:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Fri May 06 09:21:08 2011][10573:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Fri May 06 09:21:08 2011][10573:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)

      [Fri May 06 09:21:18 2011][10573:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Fri May 06 09:21:20 2011][10573:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Fri May 06 09:21:20 2011][10573:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Fri May 06 09:21:20 2011][10573:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)

      [Fri May 06 09:21:20 2011][10573:3086235392] [error] ajp_service::jk_ajp_common.c (2466): (node1) connecting to tomcat failed.

      [Fri May 06 09:21:20 2011][10573:3086235392] [info] service::jk_lb_worker.c (1384): service failed, worker node1 is in error state

      [Fri May 06 09:21:20 2011][10573:3086235392] [info] service::jk_lb_worker.c (1436): Forcing recovery once for 1 workers

      [Fri May 06 09:21:30 2011][10573:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Fri May 06 09:21:32 2011][10573:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Fri May 06 09:21:32 2011][10573:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Fri May 06 09:21:32 2011][10573:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)

      [Fri May 06 09:21:42 2011][10573:3086235392] [info] ajp_handle_cping_cpong::jk_ajp_common.c (865): timeout in reply cpong

      [Fri May 06 09:21:44 2011][10573:3086235392] [error] ajp_connect_to_endpoint::jk_ajp_common.c (957): (node1) cping/cpong after connecting to the backend server failed (errno=110)

      [Fri May 06 09:21:44 2011][10573:3086235392] [error] ajp_send_request::jk_ajp_common.c (1507): (node1) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=110)

      [Fri May 06 09:21:44 2011][10573:3086235392] [info] ajp_service::jk_ajp_common.c (2447): (node1) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)

      [Fri May 06 09:21:44 2011][10573:3086235392] [error] ajp_service::jk_ajp_common.c (2466): (node1) connecting to tomcat failed.

      [Fri May 06 09:21:44 2011][10573:3086235392] [info] service::jk_lb_worker.c (1384): service failed, worker node1 is in error state

      [Fri May 06 09:21:44 2011][10573:3086235392] [info] service::jk_lb_worker.c (1464): All tomcat instances are busy or in error state

      [Fri May 06 09:21:44 2011][10573:3086235392] [error] service::jk_lb_worker.c (1469): All tomcat instances failed, no more workers left

      [Fri May 06 09:21:44 2011]loadbalancer 172.19.99.11 48.300321

      [Fri May 06 09:21:44 2011][10573:3086235392] [info] jk_handler::mod_jk.c (2615): Service error=0 for worker=loadbalancer

       

       

      Please help me out to resolve this issue.

       

      Thanks in advance

      DInesh v