1 Reply Latest reply on Feb 23, 2011 9:22 AM by pferraro

    Jboss + loadbalancer

    jeff_00789

      Hey guys, can anyone help me in solving this issue.

       

      I am currenty using page redirection in jboss which redirects pages to the ipadress of the machine which has jboss installed on it. Now, i would like to implement a loadbalancer( similar to F5). The issue i am facing is, when i try to access the webpages rendered by jboss, since i am redirecting pages in jboss, i can establish the initial connection but as the pages get redirected the client tries to connect to the ipaddress of jboss instead of the loadbalancer. Can anyone help me solving this issue..

        • 1. Jboss + loadbalancer
          pferraro

          How are you generating your redirect urls in your application?  If you generate your urls only using the path (i.e. without a scheme/host/port), then they will automatically use the host/port of the original request.

          Otherwise, you can manipulate the proxyName/proxyPort/redirectPort of the JBoss Web connector (see server.xml) which receives the requests from the load balancer.  See http://docs.jboss.org/jbossweb/2.1.x/config/ajp.html