I'm trying to ue the loadbalancer, but maybe i haven't understand well what this done 
or works.

I have 2 clusters jboss server (NODE1 and NODE2).
I wanna a load balance to switch automaticaly between this 2 node when one of this is 
not available.

So i have installare a new jboss server (LB) deploying LoadBalancer.sar

NODE1 and NODE2 are Jboss 323 with configuration named "ALL" and my own deploy and use 
Tomcat 4.x
LB is JBoss 3.2.4 RC1 with Tomcat 5.x

All server are on the same machine using different PORT (NODE1 http port 8080, NODE2 
http port 9080, LB http port  10080)

I have changed the host url in jboss-service.xml to point at my NODE1 and NODE2

               
                  <!-- The URL to use to connect the host. URLs like 
http://www.xx.yy:8080/ are also allowed -->
                  <host-url>http://localhost:8080/</host-url>
                  <!-- The loadbalancer-factor -->
                  <lb-factor>1</lb-factor>
               
               
                  <host-url>http://localhost:9080/</host-url>
                  <lb-factor>2</lb-factor>
               


So now when i try to connect at http://localhost:10080 the request is forward at 
http://localhost:8080 or http://localhost:9080 and this works fine, but the URL 
contains the redirected server/port..

so a node died, the request will not redirect to the other node.

On the server i can see this info message:

[HttpMethodBase] Redirect requested but followRedirects is disabled

but how configure followRedirects ?

Thank You
Roberto

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825657#3825657";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825657>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to