[jboss-user] [Installation, Configuration & DEPLOYMENT] - mod_jk works, but only with localhost in the workers.propert

DaveNaden do-not-reply at jboss.com
Thu Nov 29 15:35:59 EST 2007


JBoss 4.2.0GA
Apache 2.2.4
mod_jk 1.2.25

Following the instructions at http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss, I can get it to work, but ONLY if I use localhost as the machine name in the workers.properties file, like this:

worker.list=node1,status,loadbalancer
worker.node1.port=8009
worker.node1.host=localhost
worker.node1.type=ajp13
worker.node1.lbfactor=1

As soon as I put an actual machine name for host, I get:

"Service Temporarily Unavailable", and the jk log says:

[info] jk_ajp_common.c (1265): (node1) all endpoints are disconnected
[Thu Nov 29 15:31:45 2007][4288:6084] [info] jk_ajp_common.c (2085): (node1) sending request to tomcat failed,  recoverable operation attempt=1
[Thu Nov 29 15:31:46 2007][4288:6084] [info] jk_connect.c (473): connect to 172.16.27.112:8009 failed (errno=61)
[Thu Nov 29 15:31:46 2007][4288:6084] [info] jk_ajp_common.c (891): Failed opening socket to (172.16.27.112:8009) (errno=61)
[Thu Nov 29 15:31:46 2007][4288:6084] [info] jk_ajp_common.c (1311): (node1) error connecting to the backend server (errno=61)
[Thu Nov 29 15:31:46 2007][4288:6084] [info] jk_ajp_common.c (2085): (node1) sending request to tomcat failed,  recoverable operation attempt=2
[Thu Nov 29 15:31:46 2007][4288:6084] [error] jk_ajp_common.c (2097): (node1) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port.

Can anyone help?  
(jkstatus works fine) 

-Dave Naden


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

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



More information about the jboss-user mailing list