I have a related problem regarding loadbalancing and session sharing. 

I have worker.loadbalancer.sticky_session=1 in my worker.properties file on 
Apache. ( Let me know if I should send the complete worker.properties).  Yet, 
the loadbalancer seems to be trying to send requests to both the servers. The 
first page goes to the first server and when I try submitting the page, the 
request goes to the second server.
 And it seems like the session information has not been shared between the 2 
servers yet. Because the response page has most elements missing. Only static 
logos and links show up. None of the real application elements are showing up.
I have set the JVMRoute='nodename' in server.xml on both servers.

An interesting thing I noticed was the when I tried to set the UseJK attribute 
to true in jboss-service.xml, the server would not start up and would give an 
error in JVMRouteFilter.  So have run the server without this. But clustering 
works. Am using JBoss 4.0.0.

Suprisingly, failover works fine. When a server goes down, the other server 
picks it up instantly.  I can see that the 2 servers have recognised each other 
and formed a cluster. Tried the jgroups Draw test recommended here too. works 
fine.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911508#3911508

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911508


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to