3 Replies Latest reply on Nov 16, 2008 9:05 PM by mohitanchlia

    Beware the BarrierController and EJBs

      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