Dear David, Your question sounded very interesting to me. I have been able to configure full fail-over, loadbalancing and session migration from server to server, but not with Apache-Tomcat combo but with Weblogic6.1 as well as 7.0(B) Now provided you do not want to buy any load balancer hardware this what you may have to do.
Basically what clients look for are 3 things 1.A server failure scenario where server A handling the session shuts down and server B manages to sense this failure and starts handling the interupted session. The user is not even aware that a server failure has occured. 2. Persistence of session data.(db or file) 3. Load balancing of requests. In order to achieve all of the above, if you think logically you need a top level manager to control 1. Replication of the session variable under all servers. 2. Balance Loads. Weblogic does that gracefully by providing you with servlet contained under examples directory (weblogic 7.0). You will need to configure an admin server, one or more managed server and put all of the above in a cluster. Then you deploy the example servlet in that cluster and then you deploy your webapp in the same cluster.In fact if you read their manuals http://e-docs.bea.com, it's all there. This allows you store session data (in serialised form) in a databse,file. Migrate session in case of failure and Balance Load. The morale of the story: 1.Clustering, Session Persitence, Load Balancing are all App server specific and a free product like Tomcat can never provide that kind of support to us. 2.Infact one the major reasons as to why these Weblogic guys make loads of money is bcoz of these great built in supports. -- Get your free email from www.linuxmail.org Powered by Outblaze ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
