5 Replies Latest reply on Dec 5, 2011 11:04 AM by peterj

    An error in deployment - MBeans waiting for other MBeans

    aurelsandu

      I run JBoss 4.2.1 and I want to deploy an app , but I get this

       

      --- MBeans waiting for other MBeans ---

      ObjectName: jboss.web.deployment:war=ipc-

      client-2.16.00.war,id=-1181707877
        State: NOTYETINSTALLED
        I Depend On: 
      jboss.j2ee:module="ipc-server-2.16.00.jar",service=EjbModule

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.j2ee:module="ipc-server-2.16.00.jar",service=EjbModule
      State: NOTYETINSTALLED
      Depends On Me:
          jboss.web.deployment:war=ipc-client-2.16.00.war,id=-1181707877

       

      Can somebody tell me what is the problem? What can I adjust?

      Thank you,

      Aurel

        • 1. Re: An error in deployment - MBeans waiting for other MBeans
          peterj

          This is the deployment report and it rarely contains any information about why the deployment failed. Earlier in the log you should see some excpetion stack traces - those will identify what went wrong. Post the first exception stack trace.

          • 2. Re: An error in deployment - MBeans waiting for other MBeans
            aurelsandu

            Thank you Peter for your interest about my problem. I think you ask me exception stack traces from $JBOSS-HOME\server\default\log\server.log . I have one line marked as [ERROR] as follow: (it follows a line , it is not indented by me)

            2011-12-02 12:26:55,588 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:

             

            --- MBeans waiting for other MBeans ---

            ObjectName: jboss.web.deployment:war=ipc-client-2.14.02.rc1.war,id=-1668473401

              State: NOTYETINSTALLED

              I Depend On:

                jboss.j2ee:module="ipc-server-2.14.02.rc1.jar",service=EjbModule

             

            --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---

            ObjectName: jboss.j2ee:module="ipc-server-2.14.02.rc1.jar",service=EjbModule

              State: NOTYETINSTALLED

              Depends On Me:

                 jboss.web.deployment:war=ipc-client-2.14.02.rc1.war,id=-1668473401

             

            I have all other lines marked as [DEBUG] or [INFO] - I do not have any stack traces. Plase see a few lines before the line I reproduced above:

            .........

            2011-12-02 12:26:55,349 DEBUG [org.jboss.ejb.EjbModule] Started jboss.j2ee:service=EjbModule,module=ipc-server-2.14.02.rc1.jar

            2011-12-02 12:26:55,349 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EjbModule,module=ipc-server-2.14.02.rc1.jar dependent components: []

            2011-12-02 12:26:55,349 INFO  [org.jboss.ejb.EJBDeployer] Deployed: file:/D:/jboss-4.2.1.GA/server/default/tmp/deploy/tmp381276976787161765IPC.ear-contents/ipc-server-2.14.02.rc1.jar

            2011-12-02 12:26:55,577 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: ipc-server-2.14.02.rc1.jar

            2011-12-02 12:26:55,577 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/D:/jboss-4.2.1.GA/server/default/tmp/deploy/tmp381276976787161765IPC.ear-contents/ipc-client-2.14.02.rc1.war

            2011-12-02 12:26:55,577 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:war=ipc-client-2.14.02.rc1.war,id=-1668473401

            2011-12-02 12:26:55,577 DEBUG [org.jboss.system.ServiceController] Start requested before create, calling create now for service: jboss.web.deployment:war=ipc-client-2.14.02.rc1.war,id=-1668473401

            2011-12-02 12:26:55,577 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:war=ipc-client-2.14.02.rc1.war,id=-1668473401

            2011-12-02 12:26:55,577 DEBUG [org.jboss.system.ServiceController] waiting in create of jboss.web.deployment:war=ipc-client-2.14.02.rc1.war,id=-1668473401 waiting on jboss.j2ee:module="ipc-server-2.14.02.rc1.jar",service=EjbModule

            2011-12-02 12:26:55,577 DEBUG [org.jboss.system.ServiceController] waiting in start jboss.web.deployment:war=ipc-client-2.14.02.rc1.war,id=-1668473401 on jboss.j2ee:module="ipc-server-2.14.02.rc1.jar",service=EjbModule

            2011-12-02 12:26:55,582 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: ipc-client-2.14.02.rc1.war

            2011-12-02 12:26:55,586 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EARDeployment,url='IPC.ear'

            2011-12-02 12:26:55,586 DEBUG [org.jboss.deployment.EARDeployment] Starting jboss.j2ee:service=EARDeployment,url='IPC.ear'

            2011-12-02 12:26:55,586 DEBUG [org.jboss.deployment.EARDeployment] Started jboss.j2ee:service=EARDeployment,url='IPC.ear'

            2011-12-02 12:26:55,586 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EARDeployment,url='IPC.ear' dependent components: []

            2011-12-02 12:26:55,586 INFO  [org.jboss.deployment.EARDeployer] Started J2EE application: file:/D:/jboss-4.2.1.GA/server/default/deploy/IPC.ear

            2011-12-02 12:26:55,587 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: IPC.ear

            2011-12-02 12:26:55,587 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/D:/jboss-4.2.1.GA/server/default/deploy/IPC.ear

            2011-12-02 12:26:55,588 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/D:/jboss-4.2.1.GA/server/default/deploy/IPC.ear -> file:/D:/jboss-4.2.1.GA/server/default/deploy/IPC.ear

             

            What do you think about this?

            Many thanks,

            Aurel

            • 3. Re: An error in deployment - MBeans waiting for other MBeans
              peterj

              Looks like the MBean named jboss.j2ee:module="ipc-server-2.14.02.rc1.jar",service=EjbModule is not deployed. I look in 4.2.3 and there is no such MBean. Where in your code are you referencing this MBean? And why are you referencing it? Is it perhaps on of your own MBeans and you forgot to deploy it?

              1 of 1 people found this helpful
              • 4. Re: An error in deployment - MBeans waiting for other MBeans
                aurelsandu

                Thanks again Peter.

                This is a prebuilt app and I have to deploy it . The ipc-server must be server-side part of my app . I am relatively new in JBoss . Please tell me where to read about this , more exactly about deploying MBeans. Please make me a few sugests for reading.

                Thanks very much Peter,

                Aurel

                • 5. Re: An error in deployment - MBeans waiting for other MBeans
                  peterj

                  Have you read the JBoss AS docs? Lots of info on mbeans in there.