| Article: |
Clustering and Load Balancing in Tomcat 5, Part 2 | |
| Subject: | Clustering And LoadBalancing | |
| Date: | 2004-11-07 08:45:42 | |
| From: | armedace | |
|
Indeed, an excellently written article on the related topic. The code is superbly written, and does executes well. Now, based upon the artilce i was trying to load-shed a sample request from a simple webpage. But the problem here is that the information provided at the webpage is not reaching a servlet at one of the clustered node server. Let me explain, there is a web page which asks a simple username through a textbox and then redirects it to a servlet through the LoadBalancer provided by you. But what happens at the servlet end is the username information never reaches. Pardon me to say that I am new to this topic, so any sort of help will indeed help out. Thanks... |
||
Showing messages 1 through 2 of 2.
-
Clustering And LoadBalancing
2004-11-10 16:59:48 armedace [View]
-
Clustering And LoadBalancing
2007-02-13 23:29:07 vsubram2 [View]
I have followed the article and created and configured the Load Balancer and the Cluster Instances .
could see the memebrship establishment ,replication member added messages in the cluster instances cmd pmpt windows .
also able to see the recieve session messages in other instances of the cluster domain whenever a session.set,add,removeAttribute is called in one of the instances of the cluster .
failover,sessionreplication is not happening ..
http://localhost:10080/clusterapp/sessiondata.jsp is the page i am working on .i have added two session attributes and it is listed ,i manually crash the 10080 ie)cluster2 instance and i continue to add attributes in the same page http://localhost:10080/clusterapp/sessiondata.jsp?method=addAttr...browser is saying page canot be found .
will the loadbalancer not working properly?means it is load balancers duty to redirect the request to the available instance or not .
please help asap .I need to make use of this sample in my real working application .



All the credit goes to Mr.Srini.
The example works well on both kinds of clusters. So if anyoen needs kinda help, i wont mind.
Thanks again to Mr.Srini.