1 Reply Latest reply on Mar 26, 2007 11:15 AM by Rajesh Rajasekaran

    JBoss 4.2.0 - jboss.examples:service=HASingletonMBeanExample

    Len DiMaggio Apprentice

      I'm trying to debug this failure in the 4.2.0 testsuite:

      Suite: org.jboss.test.cluster.test.HASingletonElectionPolicyTestCase(Default-UDP)
      Test: testElectionPolicy
      Type: error
      Exception: javax.management.InstanceNotFoundException
      Message: jboss.examples:service=HASingletonMBeanExample_1 is not registered.

      In the server.log, I'm seeing this:

      ----------------------------------
      10:03:57,801 INFO [ServiceConfigurator] Problem configuring service jboss.examples:service=HASingletonMBeanExample-HASingletonController_1
      org.jboss.deployment.DeploymentException: No Attribute found with name: HASingletonElectionPolicyMBean
      ----------------------------------

      This is why the tests are failing. The thing that I'm stuck with is that the HASingletonElectionPolicyMBean class in question is present in jbossha.jar:

      ----------------------------------
      [root@dhcp83-138 META-INF]# jar -tvf /var/lib/jbossas/server/cluster-UDP-0/lib/jbossha.jar | grep HASingletonElectionPolicyMBean
      257 Mon Mar 19 19:01:36 EDT 2007 org/jboss/ha/singleton/HASingletonElectionPolicyMBean.class
      ----------------------------------

      But - I guess that there is an attribute with the same name (HASingletonElectionPolicyMBean) defined where? Can anyone suggest how to debug this this?


      Thanks,
      Len DiMaggio
      ldimaggi@redhat.com