-
1. Re: Is it possible to only use certain servers from a cluste
dtauzell May 28, 2003 10:24 AM (in response to rixc)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?
Thanks,
Dave -
2. Re: Is it possible to only use certain servers from a cluste
rixc May 28, 2003 10:47 AM (in response to rixc)I am also using 3.0.7
Here is a snippet of the client connection properties used when I create teh InitialContext.
props.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
props.put("java.naming.provider.url", "W077:1100,W078:1100");
props.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
props.put("jnp.disableDiscovery", "true");
Even with this it still hops around other servers on my network. -
3. Re: Is it possible to only use certain servers from a cluste
darranl Jun 8, 2003 10:11 AM (in response to rixc)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. -
4. Re: Is it possible to only use certain servers from a cluste
slaboure Jun 9, 2003 10:50 AM (in response to rixc)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.
Cheers,
sacha
P.S: saw your post on CL issues, will take a look at it when I have time.