1 Reply Latest reply on May 4, 2003 6:47 AM by Adrian Brock

    MBean deployment

    Amrutharaj Newbie

      Dear Members,

      Before writing my own custom MBhean, I tried to deploy the example MBean JNDIMap, but I am unsuccessful.

      Firstly I compiled the JNDIMap and its interface and put the two class files in a SampleJNDI.jar files and deployed in JBoss server.default.deploy directory along with jboss-service.xml, and started JBoss 3.0.4. I also tried with JBoss 3.2

      The error message is:
      10:27:56,956 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@a1c53382 { url=file:/C:/jboss-3.0.4/server/default/deploy/jboss-service.xml }
      deployer: org.jboss.deployment.SARDeployer@19f91c
      status: Deployment FAILED reason: chap2.ex2:service=JNDIMap is not registered.; - nested throwable: (javax.management.InstanceNotFoundException: chap2.ex2:service=JNDIMap is not registered.)
      state: FAILED
      watch: file:/C:/jboss-3.0.4/server/default/deploy/jboss-service.xml
      lastDeployed: 1052015274572
      lastModified: 1052015276000
      chap2.ex2:service=JNDIMap (state not available)
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: chap2.ex2:service=JNDIMap
      I Depend On:
      Depends On Me: ]

      10:27:56,966 INFO [URLDeploymentScanner] Started

      10:27:56,966 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.0.4/server/default/conf/jboss-service.xml

      10:27:56,966 INFO [Server] JBoss (MX MicroKernel) [3.0.4 Date:200211021607] Started in 0m:10s:525ms

      Please let me know what steps I have to do to deploy the MBean and make it serve.

      Thank you