-
1. Re: LoadBalancePolicy on JBoss AS7.1
wdfink Nov 9, 2012 1:00 PM (in response to tosaravananm)The behavior changed in AS7. There is no (proxy)class download as in AS5.
Therefor the configuration will be done at client side.
You might add one or more servers to the configuration, dee this document.
If the servers are clustered you can add the functionality of auto detection by adding this:
remote.clusters=ejb
remote.cluster.ejb.connect.options.org.xnio.Options.SSL_ENABLED=false
# maybe authentication
remote.cluster.ejb.username=user
remote.cluster.ejb.password=mypassword
-
2. Re: LoadBalancePolicy on JBoss AS7.1
tosaravananm Nov 10, 2012 3:19 AM (in response to wdfink)Thanks Wolf-Dieter Fink.
I want my client to do a jmx based RMI invocation. is there is a way my client can dynamically update the currently available servers and balances load based on the current list in a cluster group?. should i add all these support in my app?
-
3. Re: LoadBalancePolicy on JBoss AS7.1
rhusar Nov 13, 2012 11:49 AM (in response to tosaravananm). is there is a way my client can dynamically update the currently available servers and balances load based on the current list in a cluster group?
This is done automatically by the client. In your static configuration you only specify list of initial nodes to connect to, after the first request, the list will be updated with the current cluster state. You however need to configure authentication to use with these nodes.
Rado