[jboss-dev-forums] [Design of JBoss/Tomcat Integration] - Configuring Apache To Listen To Jboss

shanportal do-not-reply at jboss.com
Mon Aug 27 10:38:25 EDT 2007


I am using Mod Jk in the Apache Server to connect  to Jboss 4.2.1. However i am getting the following error in the browser.

  | Service Temporarily Unavailable
  | The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
  | 
when i looke at the ModJk Logs It shows


  | Mon Aug 27 09:44:41 2007][5824:1224] [info] mod_jk.c (2277): Service error=0 for worker=loadbalancer
  | [Mon Aug 27 09:56:37 2007][5824:1224] [info] jk_connect.c (473): connect to 127.0.0.1:8009 failed (errno=61)
  | [Mon Aug 27 09:56:37 2007][5824:1224] [info] jk_ajp_common.c (891): Failed opening socket to (127.0.0.1:8009) (errno=61)
  | [Mon Aug 27 09:56:37 2007][5824:1224] [info] jk_ajp_common.c (1311): (node1) error connecting to the backend server (errno=61)
  | [Mon Aug 27 09:56:37 2007][5824:1224] [info] jk_ajp_common.c (2085): (node1) sending request to tomcat failed,  recoverable operation attempt=1
  | [Mon Aug 27 09:56:38 2007][5824:1224] [info] jk_connect.c (473): connect to 127.0.0.1:8009 failed (errno=61)
  | [Mon Aug 27 09:56:38 2007][5824:1224] [info] jk_ajp_common.c (891): Failed opening socket to (127.0.0.1:8009) (errno=61)
  | [Mon Aug 27 09:56:38 2007][5824:1224] [info] jk_ajp_common.c (1311): (node1) error connecting to the backend server (errno=61)
  | [Mon Aug 27 09:56:38 2007][5824:1224] [info] jk_ajp_common.c (2085): (node1) sending request to tomcat failed,  recoverable operation attempt=2
  | [Mon Aug 27 09:56:38 2007][5824:1224] [error] jk_ajp_common.c (2097): (node1) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
  | [Mon Aug 27 09:56:38 2007][5824:1224] [info] jk_lb_worker.c (1128): service failed, worker node1 is in error state
  | [Mon Aug 27 09:56:38 2007][5824:1224] [info] jk_lb_worker.c (1191): All tomcat instances are busy or in error state
  | [Mon Aug 27 09:56:38 2007]loadbalancer localhost 1.921912
  | [Mon Aug 27 09:56:38 2007][5824:1224] [info] mod_jk.c (2277): Service error=0 for worker=loadbalancer
  | 

I followed the Instructions provided in the URL. Is there any other setting I need to change in the Jboss Server to make it work. Or is there any other method other than Mod_Jk would be better, Any help is highly apprictaed


  | 
  | http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss
  | 
  | 


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

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



More information about the jboss-dev-forums mailing list