Clustering and Load Balancing in Tomcat 5, Part 2
Subject:   Fail over utility, Load balancing with URL redirecting
Date:   2004-08-20 10:53:23
From:   yogesh_prajapati
This is very good article and provide a solid base to start using Tomcat 5.0 for clustering and load balancing. As it was pointed out in this article that the default balancer (bundled with Tomcat 5.0) does not handle fail over. I tried using your utility class, it works but it throws error and need some improvements. I may probably come up with improvements. Let me know where and how to publish the improved fail over.

Anther point I wanted to bring up is that URL redirecting is not really transparent to end client (web browser), what if the load balancer is redirecting response (with encoded URL) to some other server (on LAN) that is not exposed to external network, how will it work. I am confused....any idea ?

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • Fail over utility, Load balancing with URL redirecting
    2004-08-22 12:37:36  srinip [View]


    Thanks for the feedback on Clustering and Load Balancing article.

    Can you e-mail me the error message you are getting when using ServerUtil class. I have the configuration working on my home PC and am curious to see what kind of error message the load balance is throwing in your configuration.

    Also, regarding URL redirecting it should work by redirecting the Http request to the available cluster member (this is a simple forward to the new URL). This should work with any URL (internal server or external). Let me know what's the server configuration you are using in your web application.