[jboss-user] [Clustering/JBoss] - Re: Load balancing and dev environment
bstansberry@jboss.com
do-not-reply at jboss.com
Wed Apr 9 11:11:57 EDT 2008
Hmm. Try
| <annotation expr="class(@org.jboss.annotation.ejb.Clustered)">
| @org.jboss.annotation.ejb.Clustered(loadBalancePolicy=org.jboss.ha.framework.interfaces.FirstAvailab
| leIdenticalAllProxies.class,partitionName=DefaultPartition)
| </annotation>
|
replace the "DefaultPartition" with whatever you name your partition, if you're not using the default.
If that works and you don't want to hard code the partition name, you can try this to see if system property substitution will work:
| <annotation expr="class(@org.jboss.annotation.ejb.Clustered)">
| @org.jboss.annotation.ejb.Clustered(loadBalancePolicy=org.jboss.ha.framework.interfaces.FirstAvailab
| leIdenticalAllProxies.class,partitionName=${jboss.partition.name:DefaultPartition})
| </annotation>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142796#4142796
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142796
More information about the jboss-user
mailing list