You need to use a separate InitialContext with a distinct set of naming environment
properties for each cluster. Even if autodiscovery could be configured to discover both
clusters, the downloaded naming proxy would come from one or the other and would only be
able to connect to servers in that cluster.
Why are you trying to auto-discover two clusters? Is this really a sign that for this
particular application you should have a single partition? (You can deploy more than one
partition on an AS, so all servers could be part of a single partition for this
application, while maintaining separate partitions for whatever else you're doing that
led you to create 2 clusters.)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195830#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...