1 Reply Latest reply on Jul 27, 2006 10:55 AM by Brian Stansberry

    How to define JNDI name for EJB3 singleton mbean accessible

    Ean Dungey Newbie

      Hi,

      We have EJB3 MBean that is using the @Depend annotations:

      @Management(EventContainerInterface.class)
      @Service(objectName = "eventmanager:service=eventcontainer")
      @Remote
      @RemoteBinding(jndiBinding = "EventContainerInterface")
      @Depends( { "jboss.ha:service=HASingletonDeployer,type=Barrier" })
      public class EventContainerMBean implements EventContainerInterface {


      It's currently deployed in the farm directory so that all nodes pick it up. The main problems is I need to have it's JNDI name accessible to all nodes other than the master? Is this possible without having to place it in the deploy-hasingleton directory.

      Cheers

      Ean