[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Problem with Jboss/Tomcat when using Apache Loadbalancer

tufanocak do-not-reply at jboss.com
Mon Dec 10 10:35:13 EST 2007


i have Jboss 4.0.5(Cluster) on Windows 2003.
My loadbalancer are Apache/2.2.4 (Win32) mod_jk/1.2.23 with this configuration:
workers.properties:
Here only one Node configuration for example.
               # Define Node1
               worker.node1.port=8009
               worker.node1.host=127.0.0.1
               worker.node1.type=ajp13
               worker.node1.lbfactor=1
               #worker.node1.local_worker=1 (1)
               #worker.node1.cachesize=10 #deprecated for Apache/2.2.4 (Win32) mod_jk/1.2.23
               #worker.node1.socket_timeout=10
               #worker.node1.socket_keepalive=1
               #The next three properties allow mod_jk to efficiently determine if a connection is in error or not responding fast enough due to whatever reason.
               worker.node1.connect_timeout=10000
               worker.node1.prepost_timeout=10000
               #This value must equal server.xml's connectionTimeout of 10 minutes
               worker.node1.connection_pool_timeout=600
               worker.node1.connection_pool_size=250
               worker.node1.connection_pool_minsize=126

On the Tomcat side:
server.xml
My AJP 1.3 Connector on port 8009
Connector port="8009" address="127.0.0.1"
         emptySessionPath="true" enableLookups="false" redirectPort="8443" 
         protocol="AJP/1.3" maxThreads="800" backlog="200"  
           connectionTimeout="600000" /

i have often this errors on the Apache side and often my Jboss are not respond anymore.My Jboss are not down.
--1--
[Mon Dec 10 13:32:54 2007][4916:6568] [error] jk_ajp_common.c (951): (node3) can't receive the response message from tomcat, network problems or tomcat (127.0.0.1:8109) is down (errno=60)
[Mon Dec 10 13:32:54 2007][4916:6568] [error] jk_ajp_common.c (1618): (node3) Tomcat is down or network problems. Part of the response has already been sent to the client
[Mon Dec 10 13:32:54 2007][4916:6568] [info]  jk_ajp_common.c (1902): (node3) receiving from tomcat failed, recoverable operation attempt=0
[Mon Dec 10 13:32:54 2007][4916:6568] [info]  jk_ajp_common.c (1941): (node3) sending request to tomcat failed,  recoverable operation attempt=1
[Mon Dec 10 13:32:54 2007]loadbalancer 10.10.9.115 0.015625
--2--
[Mon Dec 10 13:25:25 2007][4916:2796] [error] jk_ajp_common.c (951): (node4) can't receive the response message from tomcat, network problems or tomcat (127.0.0.1:8209) is down (errno=60)
[Mon Dec 10 13:25:25 2007][4916:2796] [error] jk_ajp_common.c (1618): (node4) Tomcat is down or network problems. Part of the response has already been sent to the client
[Mon Dec 10 13:25:25 2007][4916:2796] [info]  jk_ajp_common.c (1902): (node4) receiving from tomcat failed, recoverable operation attempt=1
[Mon Dec 10 13:25:25 2007][4916:2796] [info]  jk_ajp_common.c (1941): (node4) sending request to tomcat failed,  recoverable operation attempt=2
[Mon Dec 10 13:25:25 2007][4916:2796] [error] jk_ajp_common.c (1953): (node4) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
[Mon Dec 10 13:25:26 2007]loadbalancer 10.10.9.115 0.000000
[Mon Dec 10 13:25:27 2007][4916:2796] [info]  jk_lb_worker.c (1098): service failed, worker node4 is in error state
[Mon Dec 10 13:25:27 2007][4916:2796] [info]  jk_lb_worker.c (1160): All tomcat instances are busy or in error state
--3--
[Mon Dec 10 12:46:41 2007][5468:3588] [info]  jk_ajp_common.c (1215): (node3) error sending request. Will try another pooled connection
[Mon Dec 10 12:46:41 2007][5468:3588] [info]  jk_ajp_common.c (1215): (node3) error sending request. Will try another pooled connection
[Mon Dec 10 12:46:41 2007][5468:3588] [info]  jk_ajp_common.c (1215): (node3) error sending request. Will try another pooled connection
[Mon Dec 10 12:46:41 2007][5468:3588] [info]  jk_ajp_common.c (1215): (node3) error sending request. Will try another pooled connection
[Mon Dec 10 12:46:41 2007][5468:3588] [info]  jk_ajp_common.c (1215): (node3) error sending request. Will try another pooled connection
[Mon Dec 10 12:46:41 2007][5468:3588] [info]  jk_ajp_common.c (1241): (node3) all endpoints are disconnected
[Mon Dec 10 12:46:41 2007][5468:3588] [info]  jk_ajp_common.c (1244): (node3) increase the backend idle connection timeout or the connection_pool_minsize
[Mon Dec 10 12:46:41 2007][5468:3588] [info]  jk_ajp_common.c (1941): (node3) sending request to tomcat failed,  recoverable operation attempt=1
[Mon Dec 10 12:46:42 2007]loadbalancer 10.10.9.115 0.000000


What is going on on Tomcat side ?

Really out of ideas, any suggestions?
Tufan

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111667#4111667

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111667



More information about the jboss-user mailing list