[jboss-dev-forums] [Design of Clustering on JBoss] - Re: JBAS-6089: Disable Client Auto-Discovery By Default?
galder.zamarreno@jboss.com
do-not-reply at jboss.com
Mon Mar 23 04:55:08 EDT 2009
There's a user that has been having issues with auto discovery being enabled by default. They had a rogue server that was responding to auto discovery requests even though it shouldn't have. Obviously, this rogue server was not using -u and clients auto discovery were finding it (clients used default jnp.discoveryPort)
I suggested this used to use jnp.DisableDiscovery but it's too big of a change for him as you'd need to change all client look up parameters or property files from which lookup properties are loaded.
The other possible solution would be to have a system property that changes the default value for DisableDiscovery for that VM. This would be different to the per initial context creation jnp.DisableDiscovery property that we have now. Thoughts? For this particular user, I think this could make it easier to disable auto discovery.
Finally note that I'm not sure we should be changing default because if we do so, we'll be annoying other customers relying on it being enabled by default. We're never gonna be able to make everyone happy with this.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220145#4220145
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220145
More information about the jboss-dev-forums
mailing list