Hello,
I am using apache for loadbalancing on top of jboss AS.
The setup worked fine when I used jboss version 4.0.4.
But when I started using jboss 4.2.1.GA,I have been getting the following errors(from mod-jk.log):
[Wed Mar 26 13:54:08 2008][5056:3664] [info] jk_connect.c (451): connect to 172.16.5.65:8009 failed with errno=61
[Wed Mar 26 13:54:08 2008][5056:3664] [info] jk_ajp_common.c (873): Failed opening socket to (172.16.5.65:8009) with (errno=61)
[Wed Mar 26 13:54:08 2008][5056:3664] [info] jk_ajp_common.c (1259): (Jboss1) error connecting to the backend server (errno=61)
[Wed Mar 26 13:54:08 2008][5056:3664] [info] jk_ajp_common.c (1916): (Jboss1) sending request to tomcat failed, recoverable operation attempt=1
[Wed Mar 26 13:54:09 2008][5056:3664] [info] jk_connect.c (451): connect to 172.16.5.65:8009 failed with errno=61
[Wed Mar 26 13:54:09 2008][5056:3664] [info] jk_ajp_common.c (873): Failed opening socket to (172.16.5.65:8009) with (errno=61)
[Wed Mar 26 13:54:09 2008][5056:3664] [info] jk_ajp_common.c (1259): (Jboss1) error connecting to the backend server (errno=61)
[Wed Mar 26 13:54:09 2008][5056:3664] [info] jk_ajp_common.c (1916): (Jboss1) sending request to tomcat failed, recoverable operation attempt=2
[Wed Mar 26 13:54:09 2008][5056:3664] [error] jk_ajp_common.c (1928): (Jboss1) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
[Wed Mar 26 13:54:09 2008][5056:3664] [info] jk_lb_worker.c (1012): service failed, worker Jboss1 is in error state
[Wed Mar 26 13:54:30 2008][5056:3664] [info] jk_connect.c (451): connect to 152.110.149.196:8009 failed with errno=60
[Wed Mar 26 13:54:30 2008][5056:3664] [info] jk_ajp_common.c (873): Failed opening socket to (152.110.149.196:8009) with (errno=60)
[Wed Mar 26 13:54:30 2008][5056:3664] [info] jk_ajp_common.c (1259): (Jboss2) error connecting to the backend server (errno=60)
[Wed Mar 26 13:54:30 2008][5056:3664] [info] jk_ajp_common.c (1916): (Jboss2) sending request to tomcat failed, recoverable operation attempt=1
[Wed Mar 26 13:54:51 2008][5056:3664] [info] jk_connect.c (451): connect to 152.110.149.196:8009 failed with errno=60
[Wed Mar 26 13:54:51 2008][5056:3664] [info] jk_ajp_common.c (873): Failed opening socket to (152.110.149.196:8009) with (errno=60)
[Wed Mar 26 13:54:51 2008][5056:3664] [info] jk_ajp_common.c (1259): (Jboss2) error connecting to the backend server (errno=60)
[Wed Mar 26 13:54:51 2008][5056:3664] [info] jk_ajp_common.c (1916): (Jboss2) sending request to tomcat failed, recoverable operation attempt=2
[Wed Mar 26 13:54:51 2008][5056:3664] [error] jk_ajp_common.c (1928): (Jboss2) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
[Wed Mar 26 13:54:51 2008][5056:3664] [info] jk_lb_worker.c (1012): service failed, worker Jboss2 is in error state
[Wed Mar 26 13:54:51 2008][5056:3664] [info] jk_lb_worker.c (1106): All tomcat instances are busy or in error state
It seems that the requests are not mounting on JBoss.
I am using apache version 2.0.59.
Do I need to change my apache server to apachev2.2?
I have updated the required files in JBoss(server.xml,META-INF/jboss-service.xml)
Pls advice.
Thanks in advance.