0 Replies Latest reply on Jan 9, 2006 2:15 PM by Deepak Giriraddi

    JBoss - apache Clustering/Load balancing error

    Deepak Giriraddi Newbie

      Hi all,
      I was trying to load balance jboss application servers using apache. Our setup consists of 3 application server which are clustered together and load balancing is done via the loadbalancer app of the apache. This setup works fine when all the servers are running. If one of them fails/shutdown we start to see this in the error logs: (logs/error_log

      [Thu Jan 05 14:30:09 2006] [notice] Apache/2.0.55 (Unix) mod_jk/1.2.14 configured -- resuming normal operations
      [Thu Jan 05 14:34:17 2006] [error] (13)Permission denied: apr_global_mutex_lock(jk_log_lock) failed
      [Thu Jan 05 14:34:17 2006] [notice] child pid 26618 exit signal Segmentation fault (11)

      And in mod_jk.log file we see the below once a server is down:

      [Thu Jan 05 12:08:43 2006][info] jk_open_socket::jk_connect.c (444): connect to xxx.xxx.xxx.11:8009 failed with errno=111
      [Thu Jan 05 12:09:06 2006]loadbalancer xxx.xxx.xxx.xxx 0.050452

      Any ideas as to what is happening? Please let us know how to resolve this.

      thanks,

      DG