Suppose I have a client which uses HAJNDI (JBoss 3.2.5, JDK 1.4.2_05, solaris) 
and the java.naming.provider.url is set to something like 
jnp://host1:1100,jnp:host2:1100,jnp://host3:1100. The client is set up to be 
run from a shell script a few thousand times in a given day. My question is how 
does the load-balancing work?

Basically I tried this setup and ran the client a couple of times and found 
that each client run seemed to go against a particular JBoss server. When I 
shut that server down, the clients picked a different server to go against. So 
the fail-over piece seems to work nicely. But how does the HAJNDI 
implementation deal with load-balancing?

I'd like to see client runs connect to different instances in the JBoss 
cluster. Is this possible to do? Am I misunderstanding how the clustering is 
supposed to work?

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3856337#3856337

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3856337


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to