[jboss-dev-forums] [Design of Clustering on JBoss] - JBAS-6089: Disable Client Auto-Discovery By Default?
jiwils
do-not-reply at jboss.com
Thu Oct 30 17:37:30 EDT 2008
It's been requested that in future JBoss releases, the use of auto-discovery by clients be disabled by default. JBAS-6089 [1] captures this feature request, and this forum thread is for capturing the discussion surrounding this JIRA.
Essentially, in the cases where the provided JNDI URL isn't available, auto-discovery can cause unexpected behavior as it is possible to connect to clusters that have nothing to do with the client.
Potential workarounds are:
* Use of the -g run.bat/run.sh command line argument as the client will only accept replies from "DefaultPartition" clusters by default.
* Use of -u run.bat/run.sh command line argument as this causes the auto-discovery service to listen to the specified multicast address rather than the default so it won't get the client request in the first place.
Thoughts?
[1] https://jira.jboss.org/jira/browse/JBAS-6089
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185832#4185832
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185832
More information about the jboss-dev-forums
mailing list