[Clustering/JBoss] - Re: Load balancing and dev environment
by bstansberry@jboss.com
Hmm. Try
| <annotation expr="class((a)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((a)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
18 years