4 Replies Latest reply on Sep 14, 2008 1:14 PM by Jose Alvarez de Lara

    JBoss 4.2.2 GA and MBeans

    Jose Alvarez de Lara Novice

      Hi,

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

      Thanking in advance,
      pepelara

        • 2. Re: JBoss 4.2.2 GA and MBeans
          Jose Alvarez de Lara Novice

          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 pai Master

             

            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
              Jose Alvarez de Lara Novice

              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