Session Not Maintained after configuring Mod Cluster

Posted on

Hi,
I have Installed web server and configure mod_cluster in it. It distribute web server request to two application server which is going to response.
Wen I hit Web server, my request going to distribute properly till login page of application.
But after login, It application server will not carry the same session id and hence, I am not able to login in to system

If I am directly hit app server or down the other App server and Hit web server, all things works properly.

My httpd config file is as per below.

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
MemManagerFile /var/cache/httpd

Listen 172.16.48.145:80

Order deny,allow
Allow from all

KeepAliveTimeout 60
MaxKeepAliveRequests 0
ManagerBalancerName mycluster
ServerAdvertise On
AdvertiseFrequency 3
EnableMCPMReceive true
AllowDisplay On

Order deny,allow
Allow from all
Require all granted

SetHandler mod_cluster-manager
Order deny,allow
Deny from all
Allow from all

while my jboss - standalone-ha.xml entry as per below

App-1

App-2

Please help me to resolve this issue..

eaccis's picture

Was this helpful?

We appreciate your feedback. Leave a comment if you would like to provide more detail.
It looks like we have some work to do. Leave a comment to let us know how we could improve.