This feature correctdly works for me. I am using jboss 3.0.7. What version are you using? Can you post your code snipped where you set this?
I am also using 3.0.7
Here is a snippet of the client connection properties used when I create teh InitialContext.
Even with this it still hops around other servers on my network.
Are all of the other servers in the same cluster?
As I understand it the configuration you are setting only affects how it finds the first server in the cluster, once you have found the server a list of all running servers in the cluster will be given to the client.
Yes, Daran you are right, I hadn't understood the initial question this way, but you got it right: the list of members you indicate in the jndi.properties file (or whatever means) is just here to bootstrap and get a reference to the clustered JNDI service. But then, you get a proxy that knows all members in the cluster. Otherwise, simply disable the HA-JNDI server on the nodes you don't want to reach.
P.S: saw your post on CL issues, will take a look at it when I have time.