2 Replies Latest reply on Oct 1, 2006 10:46 AM by brian.stansberry

    load balancer redirection problem on jboss 4.02

    gssbhaskar

      Hi

      I am configering load balancer for my two back end nodes.

      Here is my setup:

      I have created three nodes node1 , node2 , lb_node.

      in node1 and node2 my application is running.

      In lb_node I copied the <jboss_home>/docs/examples/varia/loadbalancer/loadbalancer.sar in to deploy directory of lb_node.

      I configered RoundRobinSchedulerService in

      <jboss_home>/server/lb_node/deploy/loadbalancer.sar/META-INF/jboss-service.xml. which is like


      jboss.web:service=WebServer


      <!-- Use sticky sessions ? -->
      <sticky-session>true</sticky-session>

      <!-- The name of the session-cookie to use -->
      <sticky-session-cookie-name>JBoss_LB_ID</sticky-session-cookie-name>

      <!-- The list of the target hosts -->


      <!-- The URL to use to connect the host. URLs like http://www.xx.yy:8080/ are also allowed -->
      <host-url>http://192.168.1.240:8180/</host-url>


      <host-url>http://192.168.1.240:8280/</host-url>






      I started all the three nodes. when i hit the load balancer from the browser

      browser address space shows http://loadbalancerIP:<lb_port>/

      when ever my application redirects

      browser address space shows http://backendnodeIP:<Node_PORT>/

      i am getting the info message in loadbalance like

      [HttpMethosBase]Redirect requested but followRedirects is diabled

      is i need to enable the followRedirects any where ?

      Thanks

      Baskar G