[jboss-user] [Clustering/JBoss] - Beware the BarrierController and EJBs

jsicotte2 do-not-reply at jboss.com
Fri Aug 4 12:47:08 EDT 2006


Just to let the community know the use of the BarrierController to control state of HA Singletons does not work 100%.  According to the wiki:

http://wiki.jboss.org/wiki/Wiki.jsp?page=HASingletonDeployer

You can use the BarrierController instead of the deploy-hasingleton directory.  This is not entirely true; for JMX services it generally works, but not for EJBs.  The problem is that though the stopService() methods are called on the MBeans that wrap the EJBs, the beans remain bound to JNDI an can still be called.  This can cause errors in your application, especially if the EJB calls services that have been stopped.

This issue does have a bug associated with it:

http://jira.jboss.com/jira/browse/JBAS-3469


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

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



More information about the jboss-user mailing list