3 Replies Latest reply on Jul 25, 2006 10:56 AM by amit

    migration to 4.0.4 GA deployment problem --- MBeans waiting

    amit Newbie

      I migrate my application from jboss 4.0.4 RC1 to JBOSS 4.0.4 GA
      and I got error during the deployment.

      In general the error is about mutual dependecy.
      i.e - suppose I have 2 Stateless session bean:
      1.) XXBean 2.)YYBean
      and I have the following code:

      
      public @Stateless class XXBean implements XX {
      
      @EJB YYBean ybean;
      }
      
      public @Stateless class YYBean implements XX {
      
      @EJB XXBean ybean;
      }
      
      

      this code in 4.0.4 GA will raise error during the depolyment process.
      Does anybody know why? and how to overcome it?

      thanks, amit

      p.s - this is the error I got


      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=DeviceManagerBean,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=PortManagerBean,service=EJB3
      persistence.units:ear=imagineManagment.ear,unitName=ImagineDB
      Depends On Me:
      jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=ModuleManagerBean,service=EJB3
      jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=PortManagerBean,service=EJB3

      ObjectName: jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=ModuleManagerBean,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=DeviceManagerBean,service=EJB3
      persistence.units:ear=imagineManagment.ear,unitName=ImagineDB

      ObjectName: jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=PortManagerBean,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=DeviceManagerBean,service=EJB3
      persistence.units:ear=imagineManagment.ear,unitName=ImagineDB
      Depends On Me:
      jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=DeviceManagerBean,service=EJB3
      jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=QAMDeviceManagerBean,service=EJB3

      ObjectName: jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=QAMDeviceManagerBean,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=PortManagerBean,service=EJB3
      jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=SiteManagerBean,service=EJB3
      jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=QAMGroupManagerBean,service=EJB3
      persistence.units:ear=imagineManagment.ear,unitName=ImagineDB