- 
        1. Re: Load balancing : lose of sessionmbabacek Feb 13, 2013 2:37 PM (in response to fnossair)Hmm, do you get the correct sessionid but for data, or a new sessionid? Do you have any exotic ProxyPass settings on httpd? It might be either mod_cluster's stickysessions handling or AS7's session replication glitch. Does the behaviour keep repeating even with some simple app? 
- 
        2. Re: Load balancing : lose of sessionfnossair Feb 13, 2013 2:54 PM (in response to mbabacek)Hmm, do you get the correct sessionid but for data, or a new sessionid? i dont look the sessionid. but i have an application where i login with a user and password and i can do any other action but when i turned the Jboss Off, when i click the application forword me to the authentification page. Do you have any exotic ProxyPass settings on httpd? i have no ProxyPass. i have a simple config and this is : <IfModule ssl_module> SSLRandomSeed startup builtin SSLRandomSeed connect builtin </IfModule> # MOD_CLUSTER_ADDS # Adjust to you hostname and subnet. <IfModule manager_module> Listen 192.168.2.140:8796 ManagerBalancerName mycluster <VirtualHost 192.168.2.140:8796> <Directory /> Order deny,allow # Deny from all Allow from 192.168.2.141,192.168.2.142 </Directory> KeepAliveTimeout 300 MaxKeepAliveRequests 0 #ServerAdvertise on http://@IP@:6666 AdvertiseFrequency 5 #AdvertiseSecurityKey secret #AdvertiseGroup @ADVIP@:23364 <Location /mod_cluster_manager> SetHandler mod_cluster-manager Order deny,allow # Deny from all Allow from 192.168.2.141,192.168.2.142,192.168.240.17 </Location> </VirtualHost> </IfModule> It might be either mod_cluster's stickysessions handling or AS7's session replication glitch. Does the behaviour keep repeating even with some simple app? i didnt teste it with a simple app 
- 
        3. Re: Load balancing : lose of sessionmbabacek Feb 13, 2013 3:12 PM (in response to fnossair)It occours to me you are probably running some obsolete mod_cluster on the httpd side for I can't see EnableMCPMReceive in your VirtualHost... What is the version? Hmm, can you try clusterbench/requestinfo context with this dead-simple webapp? (If you don't really like running unknown, possibly utterly evil, things on your AS, build this branch yourself) Watch the JSESSIONID... And...just in case :-), is that webapp of yours <distributable/> ? 
- 
        4. Re: Load balancing : lose of sessionfnossair Feb 14, 2013 6:56 AM (in response to mbabacek)thanks Michal i use mod_cluster 1.0. and i dont have <distributable/> in my web.xml. i will try it, and i tell you if it fix the prob. thank you a lot 
- 
        5. Re: Load balancing : lose of sessionmbabacek Feb 14, 2013 7:15 AM (in response to fnossair)Nossair, don't use mod_cluster 1.0. It is a very old thing and a huge amount of work has been done since. Take a decent version from our community web: http://www.jboss.org/mod_cluster/downloads/1-2-0-Final , copy the java part into AS7 (you probably already have that) and put the native part into your httpd. Well, as to the <distributable/>, if your app is not set to replicate sessions, you can not expect to see your data on another cluster node. HTH M 
- 
        6. Re: Load balancing : lose of sessionfnossair Feb 14, 2013 9:22 AM (in response to mbabacek)thanks a lot Michal, I just add <distributable/> and it work fine thank you 
 
    