Hi All,
I am trying to configure load balancer using mod cluster in jboss 7.2.0 in domain mode. I am following the article below.
http://middlewaremagic.com/jboss/?p=2147
I was able to configure the load balancer in domain mode in Same box. When i access the cluster Web app using individual IP addresses like
Http://jboss.localhost.net:8180/ClusterWebApp
http://jboss.localhost.net:8280/ClusterWebApp
it shows the results correctly.
Now i am testing the session replication scenario. that is submit the request using load balanced url http://jboss.localhost.net/ClusterWebApp
the request is routed to one of the server. then i am shutind down that server and access the app to see if the seccion is replaicated to second server or not.
I see following error in httpd logs . No error in jboss console
[error] proxy: CLUSTER: (balancer://wingspancluster). All workers are in error state.
Any idea what causes the error? and how to resolve the issue.
Hi All,
I am using apache httpd 2.2.9 version and mod cluster 1.2.0
from internet i could see that mod cluster 1.2.0 is supported in httpd 2.2.8+ version.
Please help me on this. here is my configuration
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule slotmem_module modules/mod_slotmem.so
LoadModule manager_module modules/mod_manager.so
LoadModule proxy_cluster_module modules/mod_proxy_cluster.so
LoadModule advertise_module modules/mod_advertise.so
Listen 10.137.8.123:80
NameVirtualHost 10.137.8.123:80
<VirtualHost 10.137.8.123:80>
ServerName jboss.localhost.net
<Directory />
Order deny,allow
Allow from all
</Directory>
<Location /mod_cluster-manager>
SetHandler mod_cluster-manager
Order deny,allow
Allow from all
</Location>
KeepAliveTimeout 60
ManagerBalancerName mycluster
ServerAdvertise On
</VirtualHost>
Following changes were done in domain.xml file.
1. added instance id
2. added proxy-list entry