0 Replies Latest reply on Jan 23, 2009 8:17 AM by Ezra Valerio Isacco Di Biase

    Connecting to Tomcat failed - JBoss Cluster with Apache mod_

    Ezra Valerio Isacco Di Biase Newbie

      Hi all,
      Our architecture consists of 2 JBoss 4.0.2.GA servers on Red Hat AS 4 UP7 and one Apache 2.0.52 node with mod_jk-ap20-1.2.19-1jpp_1rh on a Red Hat AS4 UP4.

      We ran into this issue several month ago and we cannot find a solution yet - from the mod_jk.log:

      [Mon Jan 19 14:10:58 2009] [11956:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (fe01) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:00 2009] [11517:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (rllas02) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:04 2009] [11654:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (rllas02) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:08 2009] [11515:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (rllas02) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:10 2009] [11915:59072] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the response message from tomcat, network problems or tomcat is down (10.2.70.55:8
      009), err=-104
      [Mon Jan 19 14:11:10 2009] [11915:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (fe01) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:12 2009] [11605:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (rllas02) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:15 2009] [11938:59072] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the response message from tomcat, network problems or tomcat is down (10.2.70.55:8
      009), err=-104
      [Mon Jan 19 14:11:15 2009] [11938:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (fe01) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:21 2009] [11787:59072] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the response message from tomcat, network problems or tomcat is down (10.2.70.55:8
      009), err=-104
      [Mon Jan 19 14:11:21 2009] [11787:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (fe01) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:24 2009] [11902:59072] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the response message from tomcat, network problems or tomcat is down (10.2.70.55:8
      009), err=-104
      [Mon Jan 19 14:11:24 2009] [11902:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (fe01) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:25 2009] [11844:59072] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the response message from tomcat, network problems or tomcat is down (10.2.70.55:8
      009), err=-104
      [Mon Jan 19 14:11:25 2009] [11844:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (fe01) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:33 2009] [11608:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (rllas02) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:37 2009] [11808:59072] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the response message from tomcat, network problems or tomcat is down (10.2.70.55:8
      009), err=-104
      [Mon Jan 19 14:11:37 2009] [11808:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (fe01) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:41 2009] [11637:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (rllas02) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:44 2009] [12009:59072] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the response message from tomcat, network problems or tomcat is down (10.2.70.55:8
      009), err=-104
      [Mon Jan 19 14:11:44 2009] [12009:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (fe01) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:45 2009] [11533:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (rllas02) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:47 2009] [11834:59072] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the response message from tomcat, network problems or tomcat is down (10.2.70.55:8
      009), err=-104
      [Mon Jan 19 14:11:47 2009] [11834:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (fe01) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:49 2009] [11562:59072] [error] ajp_get_reply::jk_ajp_common.c (1536): (rllas02) Tomcat is down or refused connection. No response has been sent to the client (yet)
      [Mon Jan 19 14:11:49 2009] [11562:59072] [error] ajp_service::jk_ajp_common.c (1879): (rllas02) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
      [Mon Jan 19 14:11:51 2009] [12003:59072] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (947): (fe01) can't receive the response message from tomcat, network problems or tomcat is down (10.2.70.55:8
      009), err=-104


      workers.properties:

      # Cluster members
      worker.as01.host=10.2.xxx.xxx
      worker.as01.port=8009
      worker.as01.type=ajp13

      worker.as02.host=10.2.xxx.xxx
      worker.as02.port=8009
      worker.as02.type=ajp13

      worker.cluster01.type=lb
      worker.cluster01.balanced_workers=as01,as02
      worker.status.type=status

      Only a restart of the two AS restores the correct operation.
      I'll appreciate any help.

      thanks in advance
      Ezra Di Biase