0 Replies Latest reply on Jun 23, 2004 11:24 AM by jcgerm

    javax.naming.NameAlreadyBoundException on EJB's

    jcgerm

       

      10:19:43,708 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/VistaLinkPatientDAO,service=EJB
      MBeanException: javax.naming.NameAlreadyBoundException
      Cause: javax.naming.NameAlreadyBoundException
       at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:91)
       at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:64)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837)
       at $Proxy17.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:367)
       at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl


      MBeans waiting for other MBeans:
      ObjectName: jboss.j2ee:jndiName=ejb/VistaLinkDAO,service=EJB
       state: FAILED
       I Depend On:
       Depends On Me: MBeanException: javax.naming.NameAlreadyBoundException
      Cause: javax.naming.NameAlreadyBoundException
      ObjectName: jboss.j2ee:jndiName=ejb/VistaLinkDAO,plugin=pool,service=EJB
       state: CREATED
       I Depend On:
       Depends On Me:
      ObjectName: jboss.j2ee:jndiName=ejb/ImagingFacade,service=EJB
       state: FAILED
       I Depend On:
       Depends On Me: MBeanException: javax.naming.NameAlreadyBoundException
      Cause: javax.naming.NameAlreadyBoundException
      ObjectName: jboss.j2ee:jndiName=ejb/ImagingFacade,plugin=pool,service=EJB
       state: CREATED
       I Depend On:
       Depends On Me:
      ObjectName: jboss.j2ee:jndiName=ejb/VistaLinkPatientDAO,service=EJB
       state: FAILED
       I Depend On:
       Depends On Me: MBeanException: javax.naming.NameAlreadyBoundException
      Cause: javax.naming.NameAlreadyBoundException
      ObjectName: jboss.j2ee:jndiName=ejb/VistaLinkPatientDAO,plugin=pool,service=EJB
       state: CREATED
       I Depend On:
       Depends On Me:
      
      MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
      ObjectName: jboss.j2ee:jndiName=ejb/VistaLinkPatientDAO,service=EJB
       state: FAILED
       I Depend On:
       Depends On Me: MBeanException: javax.naming.NameAlreadyBoundException
      Cause: javax.naming.NameAlreadyBoundException
      ObjectName: jboss.j2ee:jndiName=ejb/ImagingFacade,plugin=pool,service=EJB
       state: CREATED
       I Depend On:
       Depends On Me:
      ObjectName: jboss.j2ee:jndiName=ejb/VistaLinkDAO,plugin=pool,service=EJB
       state: CREATED
       I Depend On:
       Depends On Me:
      ObjectName: jboss.j2ee:jndiName=ejb/VistaLinkDAO,service=EJB
       state: FAILED
       I Depend On:
       Depends On Me: MBeanException: javax.naming.NameAlreadyBoundException
      Cause: javax.naming.NameAlreadyBoundException
      ObjectName: jboss.j2ee:jndiName=ejb/ImagingFacade,service=EJB
       state: FAILED
       I Depend On:
       Depends On Me: MBeanException: javax.naming.NameAlreadyBoundException
      Cause: javax.naming.NameAlreadyBoundException
      ObjectName: jboss.j2ee:jndiName=ejb/VistaLinkPatientDAO,plugin=pool,service=EJB
       state: CREATED
       I Depend On:
       Depends On Me:
      


      I get exceptions like that one for every EJB that I deploy (There are CMP Beans and Stateless Session Beans). The EJB's create database entries (if they are CMP's) and all of the beans deploy, but I still get these errors. What exactly is going on here? Let me know if you need more info, I'm pretty new at this.