[jboss-user] [Clustering/JBoss] - Re: rename cluster but need to annotate all sessession bean
bstansberry@jboss.com
do-not-reply at jboss.com
Thu Apr 12 18:54:02 EDT 2007
It can be specified in XML; in jboss.xml for each clustered bean add:
| <clustered>true</clustered>
| <cluster-config>
| <partition-name>${jboss.partition.name:DefaultPartition}</partition-name>
| </cluster-config>
I believe support for that was only added in EJB3 RC9 (last June) so you may have to upgrade your EJB3.
In 4.2.0, the value of the @Clustered annotation 'partition' attribute will default to whatever you pass to -g at startup (or to DefaultPartition if -g is not used.)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036901#4036901
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036901
More information about the jboss-user
mailing list