2 Replies Latest reply on Jan 20, 2004 4:08 AM by Juha Lindfors

    MBean Life-Cycle method calls??

    Newbie

       

      "raybarnett" wrote:
      At what point upon start-up does JBoss calls the MBean life-cycle methods like create, start etc.? am testing creation of a singleton in the start method of my MBean, but I don't seem to see the start method getting called during startup, what am I missing? JBoss 3.2.1

      Thanks for any insight.
      /Ray


        • 1. Re: MBean Life-Cycle method calls??
          Newbie

           

          "raybarnett" wrote:
          Upon running listIncompletelyDeployed() on the ServiceController MBean I find my MBean might not be running 'cause of unsatisfied dependencies, is there easy way to debug what that is??
          errors during deployment are attached below.

          Result of listIncompletelyDeployed() ---:

          [ObjectName: Test:service=TestServices
          state: CONFIGURED
          I Depend On: jboss.jca:service=LocalTxCM,name=SecureDS

          Depends On Me: , ObjectName: jboss.jca:service=LocalTxCM,name=SecureDS
          state: CONFIGURED
          I Depend On: jboss:service=TransactionManager
          jboss.jca:service=RARDeployer
          jboss.jca:service=LocalTxPool,name=SecureDS
          jboss.jca:service=CachedConnectionManager
          jboss.security:service=JaasSecurityManager

          Depends On Me: Test:service=TestServices
          , ObjectName: jboss.jca:service=LocalTxPool,name=SecureDS
          state: CONFIGURED
          I Depend On: jboss.jca:service=LocalTxPF,name=SecureDS

          Depends On Me: jboss.jca:service=LocalTxCM,name=SecureDS
          , ObjectName: jboss.jca:service=LocalTxPF,name=SecureDS
          state: CONFIGURED
          I Depend On: jboss.jca:service=RARDeployment,name=ECIResourceAdapter

          Depends On Me: jboss.jca:service=LocalTxPool,name=SecureDS
          ]


          ==============================

          22:22:48,526 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
          Cause: Incomplete Deployment listing:
          Packages waiting for a deployer:
          <none>
          Incompletely deployed packages:
          <none>
          MBeans waiting for classes:
          <none>
          MBeans waiting for other MBeans:
          [ObjectName: Test:service=TestServices
          state: CONFIGURED
          I Depend On: jboss.jca:service=LocalTxCM,name=SecureDS

          Depends On Me: , ObjectName: jboss.jca:service=LocalTxCM,name=SecureDS
          state: CONFIGURED
          I Depend On: jboss:service=TransactionManager
          jboss.jca:service=RARDeployer
          jboss.jca:service=LocalTxPool,name=SecureDS
          jboss.jca:service=CachedConnectionManager
          jboss.security:service=JaasSecurityManager

          Depends On Me: Test:service=TestServices
          , ObjectName: jboss.jca:service=LocalTxPool,name=SecureDS
          state: CONFIGURED
          I Depend On: jboss.jca:service=LocalTxPF,name=SecureDS

          Depends On Me: jboss.jca:service=LocalTxCM,name=SecureDS
          , ObjectName: jboss.jca:service=LocalTxPF,name=SecureDS
          state: CONFIGURED
          I Depend On: jboss.jca:service=RARDeployment,name=ECIResourceAdapter


          • 2. Re: MBean Life-Cycle method calls??
            Juha Lindfors Master

             

            "juha@jboss.org" wrote:
            Your datasource did not deploy correctly,

            [ObjectName: Test:service=TestServices
            state: CONFIGURED
            I Depend On: jboss.jca:service=LocalTxCM,name=SecureDS


            You need to fix that first.