-
Bug
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.2
-
None
-
JBoss Enterprise Application Platform (EAP) 5.1.2
JBoss Enterprise Web Server 1.0.2
mod_cluster 1.0.10.GA_CP02
-
Workaround Exists
-
-
The bug is fixed by the upgrade of mod_cluster to MOD_CLUSTER_1_0_10_GA_CP05.
-
NEW
mod_cluster VHost is configured like so:
Listen 8000
<VirtualHost *:8000>
<Directory />
Order deny,allow
Deny from all
Allow from all
</Directory>
<Location /mod_cluster-manager>
SetHandler mod_cluster-manager
Order deny,allow
Deny from all
Allow from all
</Location>
KeepAliveTimeout 60
MaxKeepAliveRequests 0
ServerAdvertise Off
ManagerBalancerName mycluster
</VirtualHost>
CreateBalancers 1
And traffic ProxyPassed like so, so that the application is served from the root context through Apache:
- Vhost Section
ProxyPass / balancer://mycluster/app/ stickysession=JSESSIONID nofailover=On
ProxyPassReverse / https://website.com/app/
And JBoss is configured for empty path session cookies so that the cookie can properly apply:
<Context cookies="true">
<SessionCookie path="/" />
</Context>
Requests without a cookie work fine. Once the cookie is created and used, mod_cluster just returns 503s and worker errors:
[error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state