Hi,

I am trying to configure an EJB3 session bean for clustering. As my cluster 
partition names are dependent on the deployment, I can not use the @Clustered 
annotation because this would hardcode the name. So I want to use the jboss.xml 
file to configure the clustering property. However I can not seem to find 
documentation for EJB3 on that. All I find is clustering for EJB2.1 session 
beans but that doesn't seem to apply anymore. 

I have also tried to read the deployment descriptor code and figure out how it 
is done. I ended up with this:


  | <jboss>
  |   <enterprise-beans>
  |     <session>
  |       <ejb-name>MyBean</ejb-name>
  |       <clustered>
  |         <partition-name>myPartition</partition-name>
  |       </clustered>
  |     </session>
  |   </enterprise-beans>
  | </jboss>
  | 

Didn't work. Can anybody give an example of the correct XML configuration, 
please?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932764#3932764

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932764


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to