Ummm. yes.. I've -just- noticed that error message.

(shrugs head in shame... I should have picked that up sooner but I don't recall 
seeing that error message. Is it new? my only defence is that our logs become 
huge very quickly)

Functionally, I tested the session failover by starting the session on the one 
JBoss instance, but then manually forced it to change-over to the second node 
by changing the URL.

ie: started with the session on node0 (as you can tell from the host and the 
extra info mod_jk has tacked on the end)

http://node0:8080/testapp/test.do;jsessionid=O+r5weKUYSCt-Q3gORsdzA**.node0

and changed it to 

http://node1:8080/testapp/test.do;jsessionid=O+r5weKUYSCt-Q3gORsdzA**.node0

And I could tell from the logs that the session is moved from node0 to node1. 
ie: the host changed to node1 but the correct session (identified by the 
jsessionid AND the mod_jk engine name) was able to continue running from node1. 
Given this, it seemed like functionally the clustering and session replication 
was working fine.

Also, just as an aside, I would have thought that using mod_jk and Apache as a 
front-end load-balancer might be quite a common setup for clustering. If this 
requires cookies to be used, and JBoss can't use URL rewriting in clustered 
mode, maybe this should be put into the nodes/wikis about clustering? Seems 
like a fairly significant thing. Or better yet, maybe JBoss should refuse to 
deploy the app?

thanks again (heaps) for your assistance and feedback!



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

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


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to