4 Replies Latest reply on Sep 14, 2008 1:14 PM by pepelara

    JBoss 4.2.2 GA and MBeans

    pepelara

      Hi,

      Where can I find up a good information about MBeans configuration
      on my Jboss app server?

      Thanking in advance,
      pepelara

        • 1. Re: JBoss 4.2.2 GA and MBeans
          jaikiran

          What exactly are you looking for? The JBoss documentation has a chapter on JMX Microkernel http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/beta422/html/The_JBoss_JMX_Microkernel.html

          The wiki also has a JMX FAQ section http://wiki.jboss.org/wiki/FAQJBossJMX

          • 2. Re: JBoss 4.2.2 GA and MBeans
            pepelara

            Hi jaikiran,

            When I run JBoss I have got this mssage on then console

            --- Incompletely deployed packages ---
            org.jboss.deployment.DeploymentInfo@d1f6bc28 { url=file:/C:/jboss-4.2.2.GA/serve
            r/default/deploy/jms/RosterApp.ear }
             deployer: org.jboss.deployment.EARDeployer@1be9a50
             status: Deployment FAILED reason: Error during create of EARDeployment: file:/
            C:/jboss-4.2.2.GA/server/default/deploy/jms/RosterApp.ear; - nested throwable: (
            javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EARDeploymen
            t,url='RosterApp.ear' already registered.)
             state: FAILED
             watch: file:/C:/jboss-4.2.2.GA/server/default/deploy/jms/RosterApp.ear
             altDD: null
             lastDeployed: 1221391003768
             lastModified: 1221391003705
             mbeans:
            
            --- MBeans waiting for other MBeans ---
            ObjectName: jboss.j2ee:module=roster-ejb.jar,uid=30062719,service=EjbModule
             State: FAILED
             Reason: javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=R
            osterBean,service=EJB already registered.
            
            --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
            ObjectName: jboss.j2ee:module=roster-ejb.jar,uid=30062719,service=EjbModule
             State: FAILED
             Reason: javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=R
            osterBean,service=EJB already registered.
            


            and I think it is becasue I have not installed or configured the MBeas.

            I remember a post in this forum that one of you, show me the URL of
            a page to install or configure MBeans for my JBoss

            Meanwhile I am going to have a look to the pages you have given me

            Thank you
            Pepelara

            • 3. Re: JBoss 4.2.2 GA and MBeans
              jaikiran

               

              file:/C:/jboss-4.2.2.GA/server/default/deploy/jms/RosterApp.ear; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EARDeployment,url='RosterApp.ear' already registered.


              Any specific reason for placing the RosterApp.ear inside the jms folder? The applications are usually placed directly under the deploy folder.

              As for the exception you are seeing, looks like the RosterApp.ear is already deployed. I guess, you have this same application in some other folder and JBoss has already deployed it. Can you post the entire console logs?


              • 4. Re: JBoss 4.2.2 GA and MBeans
                pepelara

                Hi jaikiran,

                All it was a mistake of mine. As you have watched I got wrong
                when I put my RossterApp.ear inside de jms folder.

                It happened doing a copy-paste from my developing folder to
                my JBoss deploy folder

                Now everything is ok.

                Thanks a lot. Thank you,
                pepelara